| 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) |
| 789 DEFINE_bool(perf_jit_prof, false, | 790 DEFINE_bool(perf_jit_prof, false, |
| 790 "Enable perf linux profiler (experimental annotate support).") | 791 "Enable perf linux profiler (experimental annotate support).") |
| 792 DEFINE_neg_implication(perf_jit_prof, compact_code_space) |
| 791 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 793 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
| 792 "Specify the name of the file for fake gc mmap used in ll_prof") | 794 "Specify the name of the file for fake gc mmap used in ll_prof") |
| 793 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 795 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
| 794 DEFINE_bool(log_timer_events, false, | 796 DEFINE_bool(log_timer_events, false, |
| 795 "Time events including external callbacks.") | 797 "Time events including external callbacks.") |
| 796 DEFINE_implication(log_timer_events, log_internal_timer_events) | 798 DEFINE_implication(log_timer_events, log_internal_timer_events) |
| 797 DEFINE_implication(log_internal_timer_events, prof) | 799 DEFINE_implication(log_internal_timer_events, prof) |
| 798 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 800 DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
| 799 DEFINE_string(log_instruction_file, "arm64_inst.csv", | 801 DEFINE_string(log_instruction_file, "arm64_inst.csv", |
| 800 "AArch64 instruction statistics log file.") | 802 "AArch64 instruction statistics log file.") |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 914 #undef DEFINE_ALIAS_float | 916 #undef DEFINE_ALIAS_float |
| 915 #undef DEFINE_ALIAS_args | 917 #undef DEFINE_ALIAS_args |
| 916 | 918 |
| 917 #undef FLAG_MODE_DECLARE | 919 #undef FLAG_MODE_DECLARE |
| 918 #undef FLAG_MODE_DEFINE | 920 #undef FLAG_MODE_DEFINE |
| 919 #undef FLAG_MODE_DEFINE_DEFAULTS | 921 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 920 #undef FLAG_MODE_META | 922 #undef FLAG_MODE_META |
| 921 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 923 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 922 | 924 |
| 923 #undef COMMA | 925 #undef COMMA |
| OLD | NEW |