| 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 "Default seed for initializing random generator " | 575 "Default seed for initializing random generator " |
| 576 "(0, the default, means to use system random).") | 576 "(0, the default, means to use system random).") |
| 577 | 577 |
| 578 // objects.cc | 578 // objects.cc |
| 579 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") | 579 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") |
| 580 | 580 |
| 581 // parser.cc | 581 // parser.cc |
| 582 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") | 582 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") |
| 583 DEFINE_bool(trace_parse, false, "trace parsing and preparsing") | 583 DEFINE_bool(trace_parse, false, "trace parsing and preparsing") |
| 584 | 584 |
| 585 // simulator-arm.cc and simulator-mips.cc | 585 // simulator-arm.cc, simulator-a64.cc and simulator-mips.cc |
| 586 DEFINE_bool(trace_sim, false, "Trace simulator execution") | 586 DEFINE_bool(trace_sim, false, "Trace simulator execution") |
| 587 DEFINE_bool(check_icache, false, | 587 DEFINE_bool(check_icache, false, |
| 588 "Check icache flushes in ARM and MIPS simulator") | 588 "Check icache flushes in ARM and MIPS simulator") |
| 589 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 589 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 590 #ifdef V8_TARGET_ARCH_A64 |
| 591 DEFINE_int(sim_stack_alignment, 16, |
| 592 "Stack alignment in bytes in simulator. This must be a power of two " |
| 593 "and it must be at least 16. 16 is default.") |
| 594 #else |
| 590 DEFINE_int(sim_stack_alignment, 8, | 595 DEFINE_int(sim_stack_alignment, 8, |
| 591 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 596 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
| 597 #endif |
| 598 DEFINE_int(sim_stack_size, 2 * MB / KB, |
| 599 "Stack size of the A64 simulator in kBytes (default is 2 MB)") |
| 600 DEFINE_bool(log_regs_modified, true, |
| 601 "When logging register values, only print modified registers.") |
| 602 DEFINE_bool(log_colour, true, |
| 603 "When logging, try to use coloured output.") |
| 604 DEFINE_bool(ignore_asm_unimplemented_break, false, |
| 605 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") |
| 606 DEFINE_bool(trace_sim_messages, false, |
| 607 "Trace simulator debug messages. Implied by --trace-sim.") |
| 592 | 608 |
| 593 // isolate.cc | 609 // isolate.cc |
| 594 DEFINE_bool(abort_on_uncaught_exception, false, | 610 DEFINE_bool(abort_on_uncaught_exception, false, |
| 595 "abort program (dump core) when an uncaught exception is thrown") | 611 "abort program (dump core) when an uncaught exception is thrown") |
| 596 DEFINE_bool(trace_exception, false, | 612 DEFINE_bool(trace_exception, false, |
| 597 "print stack trace when throwing exceptions") | 613 "print stack trace when throwing exceptions") |
| 598 DEFINE_bool(randomize_hashes, true, | 614 DEFINE_bool(randomize_hashes, true, |
| 599 "randomize hashes to avoid predictable hash collisions " | 615 "randomize hashes to avoid predictable hash collisions " |
| 600 "(with snapshots this option cannot override the baked-in seed)") | 616 "(with snapshots this option cannot override the baked-in seed)") |
| 601 DEFINE_int(hash_seed, 0, | 617 DEFINE_int(hash_seed, 0, |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 "Enable perf linux profiler (basic support).") | 808 "Enable perf linux profiler (basic support).") |
| 793 DEFINE_bool(perf_jit_prof, false, | 809 DEFINE_bool(perf_jit_prof, false, |
| 794 "Enable perf linux profiler (experimental annotate support).") | 810 "Enable perf linux profiler (experimental annotate support).") |
| 795 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 811 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
| 796 "Specify the name of the file for fake gc mmap used in ll_prof") | 812 "Specify the name of the file for fake gc mmap used in ll_prof") |
| 797 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 813 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
| 798 DEFINE_bool(log_timer_events, false, | 814 DEFINE_bool(log_timer_events, false, |
| 799 "Time events including external callbacks.") | 815 "Time events including external callbacks.") |
| 800 DEFINE_implication(log_timer_events, log_internal_timer_events) | 816 DEFINE_implication(log_timer_events, log_internal_timer_events) |
| 801 DEFINE_implication(log_internal_timer_events, prof) | 817 DEFINE_implication(log_internal_timer_events, prof) |
| 818 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
| 819 DEFINE_string(log_instruction_file, "a64_inst.csv", |
| 820 "AArch64 instruction statistics log file.") |
| 821 DEFINE_int(log_instruction_period, 1 << 22, |
| 822 "AArch64 instruction statistics logging period.") |
| 802 | 823 |
| 803 DEFINE_bool(redirect_code_traces, false, | 824 DEFINE_bool(redirect_code_traces, false, |
| 804 "output deopt information and disassembly into file " | 825 "output deopt information and disassembly into file " |
| 805 "code-<pid>-<isolate id>.asm") | 826 "code-<pid>-<isolate id>.asm") |
| 806 DEFINE_string(redirect_code_traces_to, NULL, | 827 DEFINE_string(redirect_code_traces_to, NULL, |
| 807 "output deopt information and disassembly into the given file") | 828 "output deopt information and disassembly into the given file") |
| 808 | 829 |
| 809 // | 830 // |
| 810 // Disassembler only flags | 831 // Disassembler only flags |
| 811 // | 832 // |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 894 #undef DEFINE_ALIAS_float | 915 #undef DEFINE_ALIAS_float |
| 895 #undef DEFINE_ALIAS_args | 916 #undef DEFINE_ALIAS_args |
| 896 | 917 |
| 897 #undef FLAG_MODE_DECLARE | 918 #undef FLAG_MODE_DECLARE |
| 898 #undef FLAG_MODE_DEFINE | 919 #undef FLAG_MODE_DEFINE |
| 899 #undef FLAG_MODE_DEFINE_DEFAULTS | 920 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 900 #undef FLAG_MODE_META | 921 #undef FLAG_MODE_META |
| 901 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 902 | 923 |
| 903 #undef COMMA | 924 #undef COMMA |
| OLD | NEW |