OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 "Default seed for initializing random generator " | 570 "Default seed for initializing random generator " |
571 "(0, the default, means to use system random).") | 571 "(0, the default, means to use system random).") |
572 | 572 |
573 // objects.cc | 573 // objects.cc |
574 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") | 574 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") |
575 | 575 |
576 // parser.cc | 576 // parser.cc |
577 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") | 577 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") |
578 DEFINE_bool(trace_parse, false, "trace parsing and preparsing") | 578 DEFINE_bool(trace_parse, false, "trace parsing and preparsing") |
579 | 579 |
580 // simulator-arm.cc and simulator-mips.cc | 580 // simulator-arm.cc, simulator-a64.cc and simulator-mips.cc |
581 DEFINE_bool(trace_sim, false, "Trace simulator execution") | 581 DEFINE_bool(trace_sim, false, "Trace simulator execution") |
582 DEFINE_bool(check_icache, false, | 582 DEFINE_bool(check_icache, false, |
583 "Check icache flushes in ARM and MIPS simulator") | 583 "Check icache flushes in ARM and MIPS simulator") |
584 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 584 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 585 #ifdef V8_TARGET_ARCH_A64 |
| 586 DEFINE_int(sim_stack_alignment, 16, |
| 587 "Stack alignment in bytes in simulator. This must be a power of two " |
| 588 "and it must be at least 16. 16 is default.") |
| 589 #else |
585 DEFINE_int(sim_stack_alignment, 8, | 590 DEFINE_int(sim_stack_alignment, 8, |
586 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 591 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
| 592 #endif |
| 593 DEFINE_int(sim_stack_size, 2 * MB / KB, |
| 594 "Stack size of the A64 simulator in kBytes (default is 2 MB)") |
| 595 DEFINE_bool(log_regs_modified, true, |
| 596 "When logging register values, only print modified registers.") |
| 597 DEFINE_bool(log_colour, true, |
| 598 "When logging, try to use coloured output.") |
| 599 DEFINE_bool(ignore_asm_unimplemented_break, false, |
| 600 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") |
| 601 DEFINE_bool(trace_sim_messages, false, |
| 602 "Trace simulator debug messages. Implied by --trace-sim.") |
587 | 603 |
588 // isolate.cc | 604 // isolate.cc |
589 DEFINE_bool(stack_trace_on_illegal, false, | 605 DEFINE_bool(stack_trace_on_illegal, false, |
590 "print stack trace when an illegal exception is thrown") | 606 "print stack trace when an illegal exception is thrown") |
591 DEFINE_bool(abort_on_uncaught_exception, false, | 607 DEFINE_bool(abort_on_uncaught_exception, false, |
592 "abort program (dump core) when an uncaught exception is thrown") | 608 "abort program (dump core) when an uncaught exception is thrown") |
593 DEFINE_bool(randomize_hashes, true, | 609 DEFINE_bool(randomize_hashes, true, |
594 "randomize hashes to avoid predictable hash collisions " | 610 "randomize hashes to avoid predictable hash collisions " |
595 "(with snapshots this option cannot override the baked-in seed)") | 611 "(with snapshots this option cannot override the baked-in seed)") |
596 DEFINE_int(hash_seed, 0, | 612 DEFINE_int(hash_seed, 0, |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 "Enable perf linux profiler (basic support).") | 803 "Enable perf linux profiler (basic support).") |
788 DEFINE_bool(perf_jit_prof, false, | 804 DEFINE_bool(perf_jit_prof, false, |
789 "Enable perf linux profiler (experimental annotate support).") | 805 "Enable perf linux profiler (experimental annotate support).") |
790 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 806 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
791 "Specify the name of the file for fake gc mmap used in ll_prof") | 807 "Specify the name of the file for fake gc mmap used in ll_prof") |
792 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 808 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
793 DEFINE_bool(log_timer_events, false, | 809 DEFINE_bool(log_timer_events, false, |
794 "Time events including external callbacks.") | 810 "Time events including external callbacks.") |
795 DEFINE_implication(log_timer_events, log_internal_timer_events) | 811 DEFINE_implication(log_timer_events, log_internal_timer_events) |
796 DEFINE_implication(log_internal_timer_events, prof) | 812 DEFINE_implication(log_internal_timer_events, prof) |
| 813 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
| 814 DEFINE_string(log_instruction_file, "a64_inst.csv", |
| 815 "AArch64 instruction statistics log file.") |
| 816 DEFINE_int(log_instruction_period, 1 << 22, |
| 817 "AArch64 instruction statistics logging period.") |
797 | 818 |
798 DEFINE_bool(redirect_code_traces, false, | 819 DEFINE_bool(redirect_code_traces, false, |
799 "output deopt information and disassembly into file " | 820 "output deopt information and disassembly into file " |
800 "code-<pid>-<isolate id>.asm") | 821 "code-<pid>-<isolate id>.asm") |
801 DEFINE_string(redirect_code_traces_to, NULL, | 822 DEFINE_string(redirect_code_traces_to, NULL, |
802 "output deopt information and disassembly into the given file") | 823 "output deopt information and disassembly into the given file") |
803 | 824 |
804 // | 825 // |
805 // Disassembler only flags | 826 // Disassembler only flags |
806 // | 827 // |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 #undef DEFINE_ALIAS_float | 910 #undef DEFINE_ALIAS_float |
890 #undef DEFINE_ALIAS_args | 911 #undef DEFINE_ALIAS_args |
891 | 912 |
892 #undef FLAG_MODE_DECLARE | 913 #undef FLAG_MODE_DECLARE |
893 #undef FLAG_MODE_DEFINE | 914 #undef FLAG_MODE_DEFINE |
894 #undef FLAG_MODE_DEFINE_DEFAULTS | 915 #undef FLAG_MODE_DEFINE_DEFAULTS |
895 #undef FLAG_MODE_META | 916 #undef FLAG_MODE_META |
896 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 917 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
897 | 918 |
898 #undef COMMA | 919 #undef COMMA |
OLD | NEW |