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 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
996 // log.cc | 996 // log.cc |
997 DEFINE_BOOL(log, false, | 997 DEFINE_BOOL(log, false, |
998 "Minimal logging (no API, code, GC, suspect, or handles samples).") | 998 "Minimal logging (no API, code, GC, suspect, or handles samples).") |
999 DEFINE_BOOL(log_all, false, "Log all events to the log file.") | 999 DEFINE_BOOL(log_all, false, "Log all events to the log file.") |
1000 DEFINE_BOOL(log_api, false, "Log API events to the log file.") | 1000 DEFINE_BOOL(log_api, false, "Log API events to the log file.") |
1001 DEFINE_BOOL(log_code, false, | 1001 DEFINE_BOOL(log_code, false, |
1002 "Log code events to the log file without profiling.") | 1002 "Log code events to the log file without profiling.") |
1003 DEFINE_BOOL(log_gc, false, | 1003 DEFINE_BOOL(log_gc, false, |
1004 "Log heap samples on garbage collection for the hp2ps tool.") | 1004 "Log heap samples on garbage collection for the hp2ps tool.") |
1005 DEFINE_BOOL(log_handles, false, "Log global handle events.") | 1005 DEFINE_BOOL(log_handles, false, "Log global handle events.") |
1006 DEFINE_BOOL(log_snapshot_positions, false, | |
1007 "log positions of (de)serialized objects in the snapshot.") | |
1008 DEFINE_BOOL(log_suspect, false, "Log suspect operations.") | 1006 DEFINE_BOOL(log_suspect, false, "Log suspect operations.") |
1009 DEFINE_BOOL(prof, false, | 1007 DEFINE_BOOL(prof, false, |
1010 "Log statistical profiling information (implies --log-code).") | 1008 "Log statistical profiling information (implies --log-code).") |
1011 DEFINE_BOOL(prof_cpp, false, "Like --prof, but ignore generated code.") | 1009 DEFINE_BOOL(prof_cpp, false, "Like --prof, but ignore generated code.") |
1012 DEFINE_IMPLICATION(prof, prof_cpp) | 1010 DEFINE_IMPLICATION(prof, prof_cpp) |
1013 DEFINE_BOOL(prof_browser_mode, true, | 1011 DEFINE_BOOL(prof_browser_mode, true, |
1014 "Used with --prof, turns on browser-compatible mode for profiling.") | 1012 "Used with --prof, turns on browser-compatible mode for profiling.") |
1015 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") | 1013 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") |
1016 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") | 1014 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") |
1017 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") | 1015 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1164 #undef DEFINE_ALIAS_FLOAT | 1162 #undef DEFINE_ALIAS_FLOAT |
1165 #undef DEFINE_ALIAS_ARGS | 1163 #undef DEFINE_ALIAS_ARGS |
1166 | 1164 |
1167 #undef FLAG_MODE_DECLARE | 1165 #undef FLAG_MODE_DECLARE |
1168 #undef FLAG_MODE_DEFINE | 1166 #undef FLAG_MODE_DEFINE |
1169 #undef FLAG_MODE_DEFINE_DEFAULTS | 1167 #undef FLAG_MODE_DEFINE_DEFAULTS |
1170 #undef FLAG_MODE_META | 1168 #undef FLAG_MODE_META |
1171 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1169 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1172 | 1170 |
1173 #undef COMMA | 1171 #undef COMMA |
OLD | NEW |