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 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1086 | 1086 |
1087 DEFINE_BOOL(redirect_code_traces, false, | 1087 DEFINE_BOOL(redirect_code_traces, false, |
1088 "output deopt information and disassembly into file " | 1088 "output deopt information and disassembly into file " |
1089 "code-<pid>-<isolate id>.asm") | 1089 "code-<pid>-<isolate id>.asm") |
1090 DEFINE_STRING(redirect_code_traces_to, NULL, | 1090 DEFINE_STRING(redirect_code_traces_to, NULL, |
1091 "output deopt information and disassembly into the given file") | 1091 "output deopt information and disassembly into the given file") |
1092 | 1092 |
1093 DEFINE_BOOL(hydrogen_track_positions, false, | 1093 DEFINE_BOOL(hydrogen_track_positions, false, |
1094 "track source code positions when building IR") | 1094 "track source code positions when building IR") |
1095 | 1095 |
1096 // Parameters for the wasm-section-fuzzer, not used by V8. | |
Michael Starzinger
2016/09/13 09:27:08
We already employ a similar solution for some "d8-
ahaas
2016/09/13 09:50:22
Done.
| |
1097 DEFINE_BOOL(wasm_fuzz_types, false, "fuzz the types section of a wasm module") | |
1098 DEFINE_BOOL(wasm_fuzz_names, false, "fuzz the names section of a wasm module") | |
1099 DEFINE_BOOL(wasm_fuzz_globals, false, | |
1100 "fuzz the globals section of a wasm module") | |
1101 DEFINE_BOOL(wasm_fuzz_imports, false, | |
1102 "fuzz the imports section of a wasm module") | |
1103 DEFINE_BOOL(wasm_fuzz_function_sigs, false, | |
1104 "fuzz the function signatures section of a wasm module") | |
1105 DEFINE_BOOL(wasm_fuzz_memory, false, "fuzz the memory section of a wasm module") | |
1106 DEFINE_BOOL(wasm_fuzz_data, false, "fuzz the data section of a wasm module") | |
1107 | |
1096 // | 1108 // |
1097 // Disassembler only flags | 1109 // Disassembler only flags |
1098 // | 1110 // |
1099 #undef FLAG | 1111 #undef FLAG |
1100 #ifdef ENABLE_DISASSEMBLER | 1112 #ifdef ENABLE_DISASSEMBLER |
1101 #define FLAG FLAG_FULL | 1113 #define FLAG FLAG_FULL |
1102 #else | 1114 #else |
1103 #define FLAG FLAG_READONLY | 1115 #define FLAG FLAG_READONLY |
1104 #endif | 1116 #endif |
1105 | 1117 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1206 #undef DEFINE_ALIAS_FLOAT | 1218 #undef DEFINE_ALIAS_FLOAT |
1207 #undef DEFINE_ALIAS_ARGS | 1219 #undef DEFINE_ALIAS_ARGS |
1208 | 1220 |
1209 #undef FLAG_MODE_DECLARE | 1221 #undef FLAG_MODE_DECLARE |
1210 #undef FLAG_MODE_DEFINE | 1222 #undef FLAG_MODE_DEFINE |
1211 #undef FLAG_MODE_DEFINE_DEFAULTS | 1223 #undef FLAG_MODE_DEFINE_DEFAULTS |
1212 #undef FLAG_MODE_META | 1224 #undef FLAG_MODE_META |
1213 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1225 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1214 | 1226 |
1215 #undef COMMA | 1227 #undef COMMA |
OLD | NEW |