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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 DEFINE_IMPLICATION(prof, prof_cpp) | 924 DEFINE_IMPLICATION(prof, prof_cpp) |
925 DEFINE_BOOL(prof_browser_mode, true, | 925 DEFINE_BOOL(prof_browser_mode, true, |
926 "Used with --prof, turns on browser-compatible mode for profiling.") | 926 "Used with --prof, turns on browser-compatible mode for profiling.") |
927 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") | 927 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") |
928 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") | 928 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") |
929 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") | 929 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") |
930 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") | 930 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") |
931 DEFINE_BOOL(perf_basic_prof, false, | 931 DEFINE_BOOL(perf_basic_prof, false, |
932 "Enable perf linux profiler (basic support).") | 932 "Enable perf linux profiler (basic support).") |
933 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) | 933 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) |
934 DEFINE_BOOL(perf_jit_prof, false, | |
935 "Enable perf linux profiler (experimental annotate support).") | |
936 DEFINE_NEG_IMPLICATION(perf_jit_prof, compact_code_space) | |
937 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", | 934 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", |
938 "Specify the name of the file for fake gc mmap used in ll_prof") | 935 "Specify the name of the file for fake gc mmap used in ll_prof") |
939 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") | 936 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") |
940 DEFINE_BOOL(log_timer_events, false, | 937 DEFINE_BOOL(log_timer_events, false, |
941 "Time events including external callbacks.") | 938 "Time events including external callbacks.") |
942 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) | 939 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) |
943 DEFINE_IMPLICATION(log_internal_timer_events, prof) | 940 DEFINE_IMPLICATION(log_internal_timer_events, prof) |
944 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 941 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
945 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", | 942 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", |
946 "AArch64 instruction statistics log file.") | 943 "AArch64 instruction statistics log file.") |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 #undef DEFINE_ALIAS_FLOAT | 1066 #undef DEFINE_ALIAS_FLOAT |
1070 #undef DEFINE_ALIAS_ARGS | 1067 #undef DEFINE_ALIAS_ARGS |
1071 | 1068 |
1072 #undef FLAG_MODE_DECLARE | 1069 #undef FLAG_MODE_DECLARE |
1073 #undef FLAG_MODE_DEFINE | 1070 #undef FLAG_MODE_DEFINE |
1074 #undef FLAG_MODE_DEFINE_DEFAULTS | 1071 #undef FLAG_MODE_DEFINE_DEFAULTS |
1075 #undef FLAG_MODE_META | 1072 #undef FLAG_MODE_META |
1076 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1073 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1077 | 1074 |
1078 #undef COMMA | 1075 #undef COMMA |
OLD | NEW |