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 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1038 | 1038 |
1039 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 1039 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
1040 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 1040 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
1041 DEFINE_BOOL(dump_counters_nvp, false, | 1041 DEFINE_BOOL(dump_counters_nvp, false, |
1042 "Dump counters as name-value pairs on exit") | 1042 "Dump counters as name-value pairs on exit") |
1043 DEFINE_BOOL(use_external_strings, false, "Use external strings for source code") | 1043 DEFINE_BOOL(use_external_strings, false, "Use external strings for source code") |
1044 | 1044 |
1045 DEFINE_STRING(map_counters, "", "Map counters to a file") | 1045 DEFINE_STRING(map_counters, "", "Map counters to a file") |
1046 DEFINE_ARGS(js_arguments, | 1046 DEFINE_ARGS(js_arguments, |
1047 "Pass all remaining arguments to the script. Alias for \"--\".") | 1047 "Pass all remaining arguments to the script. Alias for \"--\".") |
1048 DEFINE_BOOL(disable_in_process_stack_traces, false, | |
1049 "Disable in process stack traces.") | |
jochen (gone - plz use gerrit)
2017/05/03 10:42:08
instead of adding a flag to v8 itself, just add on
Oliver Chang
2017/05/03 16:25:19
Done.
| |
1048 | 1050 |
1049 // | 1051 // |
1050 // GDB JIT integration flags. | 1052 // GDB JIT integration flags. |
1051 // | 1053 // |
1052 #undef FLAG | 1054 #undef FLAG |
1053 #ifdef ENABLE_GDB_JIT_INTERFACE | 1055 #ifdef ENABLE_GDB_JIT_INTERFACE |
1054 #define FLAG FLAG_FULL | 1056 #define FLAG FLAG_FULL |
1055 #else | 1057 #else |
1056 #define FLAG FLAG_READONLY | 1058 #define FLAG FLAG_READONLY |
1057 #endif | 1059 #endif |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1350 #undef DEFINE_ALIAS_FLOAT | 1352 #undef DEFINE_ALIAS_FLOAT |
1351 #undef DEFINE_ALIAS_ARGS | 1353 #undef DEFINE_ALIAS_ARGS |
1352 | 1354 |
1353 #undef FLAG_MODE_DECLARE | 1355 #undef FLAG_MODE_DECLARE |
1354 #undef FLAG_MODE_DEFINE | 1356 #undef FLAG_MODE_DEFINE |
1355 #undef FLAG_MODE_DEFINE_DEFAULTS | 1357 #undef FLAG_MODE_DEFINE_DEFAULTS |
1356 #undef FLAG_MODE_META | 1358 #undef FLAG_MODE_META |
1357 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1359 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1358 | 1360 |
1359 #undef COMMA | 1361 #undef COMMA |
OLD | NEW |