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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 "Default seed for initializing random generator " | 578 "Default seed for initializing random generator " |
579 "(0, the default, means to use system random).") | 579 "(0, the default, means to use system random).") |
580 | 580 |
581 // objects.cc | 581 // objects.cc |
582 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") | 582 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") |
583 | 583 |
584 // parser.cc | 584 // parser.cc |
585 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") | 585 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") |
586 DEFINE_bool(trace_parse, false, "trace parsing and preparsing") | 586 DEFINE_bool(trace_parse, false, "trace parsing and preparsing") |
587 | 587 |
588 // simulator-arm.cc, simulator-a64.cc and simulator-mips.cc | 588 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
589 DEFINE_bool(trace_sim, false, "Trace simulator execution") | 589 DEFINE_bool(trace_sim, false, "Trace simulator execution") |
590 DEFINE_bool(debug_sim, false, "Enable debugging the simulator") | 590 DEFINE_bool(debug_sim, false, "Enable debugging the simulator") |
591 DEFINE_bool(check_icache, false, | 591 DEFINE_bool(check_icache, false, |
592 "Check icache flushes in ARM and MIPS simulator") | 592 "Check icache flushes in ARM and MIPS simulator") |
593 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 593 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
594 #ifdef V8_TARGET_ARCH_A64 | 594 #ifdef V8_TARGET_ARCH_ARM64 |
595 DEFINE_int(sim_stack_alignment, 16, | 595 DEFINE_int(sim_stack_alignment, 16, |
596 "Stack alignment in bytes in simulator. This must be a power of two " | 596 "Stack alignment in bytes in simulator. This must be a power of two " |
597 "and it must be at least 16. 16 is default.") | 597 "and it must be at least 16. 16 is default.") |
598 #else | 598 #else |
599 DEFINE_int(sim_stack_alignment, 8, | 599 DEFINE_int(sim_stack_alignment, 8, |
600 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 600 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
601 #endif | 601 #endif |
602 DEFINE_int(sim_stack_size, 2 * MB / KB, | 602 DEFINE_int(sim_stack_size, 2 * MB / KB, |
603 "Stack size of the A64 simulator in kBytes (default is 2 MB)") | 603 "Stack size of the ARM64 simulator in kBytes (default is 2 MB)") |
604 DEFINE_bool(log_regs_modified, true, | 604 DEFINE_bool(log_regs_modified, true, |
605 "When logging register values, only print modified registers.") | 605 "When logging register values, only print modified registers.") |
606 DEFINE_bool(log_colour, true, | 606 DEFINE_bool(log_colour, true, |
607 "When logging, try to use coloured output.") | 607 "When logging, try to use coloured output.") |
608 DEFINE_bool(ignore_asm_unimplemented_break, false, | 608 DEFINE_bool(ignore_asm_unimplemented_break, false, |
609 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") | 609 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") |
610 DEFINE_bool(trace_sim_messages, false, | 610 DEFINE_bool(trace_sim_messages, false, |
611 "Trace simulator debug messages. Implied by --trace-sim.") | 611 "Trace simulator debug messages. Implied by --trace-sim.") |
612 | 612 |
613 // isolate.cc | 613 // isolate.cc |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 DEFINE_bool(perf_jit_prof, false, | 812 DEFINE_bool(perf_jit_prof, false, |
813 "Enable perf linux profiler (experimental annotate support).") | 813 "Enable perf linux profiler (experimental annotate support).") |
814 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 814 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
815 "Specify the name of the file for fake gc mmap used in ll_prof") | 815 "Specify the name of the file for fake gc mmap used in ll_prof") |
816 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 816 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
817 DEFINE_bool(log_timer_events, false, | 817 DEFINE_bool(log_timer_events, false, |
818 "Time events including external callbacks.") | 818 "Time events including external callbacks.") |
819 DEFINE_implication(log_timer_events, log_internal_timer_events) | 819 DEFINE_implication(log_timer_events, log_internal_timer_events) |
820 DEFINE_implication(log_internal_timer_events, prof) | 820 DEFINE_implication(log_internal_timer_events, prof) |
821 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 821 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
822 DEFINE_string(log_instruction_file, "a64_inst.csv", | 822 DEFINE_string(log_instruction_file, "arm64_inst.csv", |
823 "AArch64 instruction statistics log file.") | 823 "AArch64 instruction statistics log file.") |
824 DEFINE_int(log_instruction_period, 1 << 22, | 824 DEFINE_int(log_instruction_period, 1 << 22, |
825 "AArch64 instruction statistics logging period.") | 825 "AArch64 instruction statistics logging period.") |
826 | 826 |
827 DEFINE_bool(redirect_code_traces, false, | 827 DEFINE_bool(redirect_code_traces, false, |
828 "output deopt information and disassembly into file " | 828 "output deopt information and disassembly into file " |
829 "code-<pid>-<isolate id>.asm") | 829 "code-<pid>-<isolate id>.asm") |
830 DEFINE_string(redirect_code_traces_to, NULL, | 830 DEFINE_string(redirect_code_traces_to, NULL, |
831 "output deopt information and disassembly into the given file") | 831 "output deopt information and disassembly into the given file") |
832 | 832 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 #undef DEFINE_ALIAS_float | 919 #undef DEFINE_ALIAS_float |
920 #undef DEFINE_ALIAS_args | 920 #undef DEFINE_ALIAS_args |
921 | 921 |
922 #undef FLAG_MODE_DECLARE | 922 #undef FLAG_MODE_DECLARE |
923 #undef FLAG_MODE_DEFINE | 923 #undef FLAG_MODE_DEFINE |
924 #undef FLAG_MODE_DEFINE_DEFAULTS | 924 #undef FLAG_MODE_DEFINE_DEFAULTS |
925 #undef FLAG_MODE_META | 925 #undef FLAG_MODE_META |
926 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 926 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
927 | 927 |
928 #undef COMMA | 928 #undef COMMA |
OLD | NEW |