OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 DEFINE_bool(prof, false, | 779 DEFINE_bool(prof, false, |
780 "Log statistical profiling information (implies --log-code).") | 780 "Log statistical profiling information (implies --log-code).") |
781 DEFINE_bool(prof_browser_mode, true, | 781 DEFINE_bool(prof_browser_mode, true, |
782 "Used with --prof, turns on browser-compatible mode for profiling.") | 782 "Used with --prof, turns on browser-compatible mode for profiling.") |
783 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 783 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
784 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 784 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
785 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.") | 785 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.") |
786 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 786 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
787 DEFINE_bool(perf_basic_prof, false, | 787 DEFINE_bool(perf_basic_prof, false, |
788 "Enable perf linux profiler (basic support).") | 788 "Enable perf linux profiler (basic support).") |
789 DEFINE_neg_implication(perf_basic_prof, compact_code_space) | |
790 DEFINE_bool(perf_jit_prof, false, | 789 DEFINE_bool(perf_jit_prof, false, |
791 "Enable perf linux profiler (experimental annotate support).") | 790 "Enable perf linux profiler (experimental annotate support).") |
792 DEFINE_neg_implication(perf_jit_prof, compact_code_space) | |
793 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 791 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
794 "Specify the name of the file for fake gc mmap used in ll_prof") | 792 "Specify the name of the file for fake gc mmap used in ll_prof") |
795 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 793 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
796 DEFINE_bool(log_timer_events, false, | 794 DEFINE_bool(log_timer_events, false, |
797 "Time events including external callbacks.") | 795 "Time events including external callbacks.") |
798 DEFINE_implication(log_timer_events, log_internal_timer_events) | 796 DEFINE_implication(log_timer_events, log_internal_timer_events) |
799 DEFINE_implication(log_internal_timer_events, prof) | 797 DEFINE_implication(log_internal_timer_events, prof) |
800 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 798 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
801 DEFINE_string(log_instruction_file, "arm64_inst.csv", | 799 DEFINE_string(log_instruction_file, "arm64_inst.csv", |
802 "AArch64 instruction statistics log file.") | 800 "AArch64 instruction statistics log file.") |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
916 #undef DEFINE_ALIAS_float | 914 #undef DEFINE_ALIAS_float |
917 #undef DEFINE_ALIAS_args | 915 #undef DEFINE_ALIAS_args |
918 | 916 |
919 #undef FLAG_MODE_DECLARE | 917 #undef FLAG_MODE_DECLARE |
920 #undef FLAG_MODE_DEFINE | 918 #undef FLAG_MODE_DEFINE |
921 #undef FLAG_MODE_DEFINE_DEFAULTS | 919 #undef FLAG_MODE_DEFINE_DEFAULTS |
922 #undef FLAG_MODE_META | 920 #undef FLAG_MODE_META |
923 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 921 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
924 | 922 |
925 #undef COMMA | 923 #undef COMMA |
OLD | NEW |