kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 1 | // Copyright 2008 the V8 project authors. All rights reserved. |
| 2 | // Redistribution and use in source and binary forms, with or without |
| 3 | // modification, are permitted provided that the following conditions are |
| 4 | // met: |
| 5 | // |
| 6 | // * Redistributions of source code must retain the above copyright |
| 7 | // notice, this list of conditions and the following disclaimer. |
| 8 | // * Redistributions in binary form must reproduce the above |
| 9 | // copyright notice, this list of conditions and the following |
| 10 | // disclaimer in the documentation and/or other materials provided |
| 11 | // with the distribution. |
| 12 | // * Neither the name of Google Inc. nor the names of its |
| 13 | // contributors may be used to endorse or promote products derived |
| 14 | // from this software without specific prior written permission. |
| 15 | // |
| 16 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 17 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 18 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 19 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 20 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 21 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | |
| 28 | // This file defines all of the flags. It is separated into different section, |
| 29 | // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
| 30 | // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
| 31 | // |
| 32 | // This include does not have a guard, because it is a template-style include, |
| 33 | // which can be included multiple times in different modes. It expects to have |
| 34 | // a mode defined before it's included. The modes are FLAG_MODE_... below: |
| 35 | |
| 36 | // We want to declare the names of the variables for the header file. Normally |
| 37 | // this will just be an extern declaration, but for a readonly flag we let the |
| 38 | // compiler make better optimizations by giving it the value. |
| 39 | #if defined(FLAG_MODE_DECLARE) |
| 40 | #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ |
| 41 | extern ctype FLAG_##nam; |
| 42 | #define FLAG_READONLY(ftype, ctype, nam, def, cmt) \ |
| 43 | static ctype const FLAG_##nam = def; |
| 44 | |
| 45 | // We want to supply the actual storage and value for the flag variable in the |
| 46 | // .cc file. We only do this for writable flags. |
| 47 | #elif defined(FLAG_MODE_DEFINE) |
| 48 | #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ |
| 49 | ctype FLAG_##nam = def; |
| 50 | #define FLAG_READONLY(ftype, ctype, nam, def, cmt) |
| 51 | |
| 52 | // We need to define all of our default values so that the Flag structure can |
| 53 | // access them by pointer. These are just used internally inside of one .cc, |
| 54 | // for MODE_META, so there is no impact on the flags interface. |
| 55 | #elif defined(FLAG_MODE_DEFINE_DEFAULTS) |
| 56 | #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ |
| 57 | static ctype const FLAGDEFAULT_##nam = def; |
| 58 | #define FLAG_READONLY(ftype, ctype, nam, def, cmt) |
| 59 | |
| 60 | |
| 61 | // We want to write entries into our meta data table, for internal parsing and |
| 62 | // printing / etc in the flag parser code. We only do this for writable flags. |
| 63 | #elif defined(FLAG_MODE_META) |
| 64 | #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ |
| 65 | { Flag::TYPE_##ftype, #nam, &FLAG_##nam, &FLAGDEFAULT_##nam, cmt }, |
| 66 | #define FLAG_READONLY(ftype, ctype, nam, def, cmt) |
| 67 | |
| 68 | #else |
| 69 | #error No mode supplied when including flags.defs |
| 70 | #endif |
| 71 | |
ager@chromium.org | 3bf7b91 | 2008-11-17 09:09:45 +0000 | [diff] [blame] | 72 | #ifdef FLAG_MODE_DECLARE |
| 73 | // Structure used to hold a collection of arguments to the JavaScript code. |
| 74 | struct JSArguments { |
| 75 | public: |
| 76 | JSArguments(); |
| 77 | JSArguments(int argc, const char** argv); |
| 78 | int argc() const; |
| 79 | const char** argv(); |
| 80 | const char*& operator[](int idx); |
| 81 | JSArguments& operator=(JSArguments args); |
| 82 | private: |
| 83 | int argc_; |
| 84 | const char** argv_; |
| 85 | }; |
| 86 | #endif |
| 87 | |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 88 | #define DEFINE_bool(nam, def, cmt) FLAG(BOOL, bool, nam, def, cmt) |
| 89 | #define DEFINE_int(nam, def, cmt) FLAG(INT, int, nam, def, cmt) |
| 90 | #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) |
| 91 | #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) |
ager@chromium.org | 3bf7b91 | 2008-11-17 09:09:45 +0000 | [diff] [blame] | 92 | #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 93 | |
| 94 | // |
| 95 | // Flags in all modes. |
| 96 | // |
| 97 | #define FLAG FLAG_FULL |
| 98 | |
| 99 | // assembler-ia32.cc / assembler-arm.cc |
| 100 | DEFINE_bool(debug_code, false, |
| 101 | "generate extra code (comments, assertions) for debugging") |
| 102 | DEFINE_bool(emit_branch_hints, false, "emit branch hints") |
| 103 | DEFINE_bool(push_pop_elimination, true, |
| 104 | "eliminate redundant push/pops in assembly code") |
| 105 | DEFINE_bool(print_push_pop_elimination, false, |
| 106 | "print elimination of redundant push/pops in assembly code") |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 107 | |
| 108 | // bootstrapper.cc |
| 109 | DEFINE_string(expose_natives_as, NULL, "expose natives in global object") |
| 110 | DEFINE_string(expose_debug_as, NULL, "expose debug in global object") |
| 111 | DEFINE_string(natives_file, NULL, "alternative natives file") |
| 112 | DEFINE_bool(expose_gc, false, "expose gc extension") |
| 113 | |
| 114 | // builtins-ia32.cc |
| 115 | DEFINE_bool(inline_new, true, "use fast inline allocation") |
| 116 | |
| 117 | // checks.cc |
| 118 | DEFINE_bool(stack_trace_on_abort, true, |
| 119 | "print a stack trace if an assertion failure occurs") |
| 120 | |
| 121 | // codegen-ia32.cc / codegen-arm.cc |
| 122 | DEFINE_bool(trace, false, "trace function calls") |
| 123 | DEFINE_bool(defer_negation, true, "defer negation operation") |
| 124 | DEFINE_bool(check_stack, true, |
| 125 | "check stack for overflow, interrupt, breakpoint") |
| 126 | |
| 127 | // codegen.cc |
| 128 | DEFINE_bool(lazy, true, "use lazy compilation") |
| 129 | DEFINE_bool(debug_info, true, "add debug information to compiled functions") |
| 130 | |
| 131 | // compiler.cc |
| 132 | DEFINE_bool(strict, false, "strict error checking") |
| 133 | DEFINE_int(min_preparse_length, 1024, |
| 134 | "Minimum length for automatic enable preparsing") |
| 135 | |
| 136 | // debug.cc |
| 137 | DEFINE_bool(remote_debugging, false, "enable remote debugging") |
| 138 | DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") |
| 139 | |
| 140 | // execution.cc |
| 141 | DEFINE_bool(call_regexp, false, "allow calls to RegExp objects") |
| 142 | |
| 143 | // frames.cc |
| 144 | DEFINE_int(max_stack_trace_source_length, 300, |
| 145 | "maximum length of function source code printed in a stack trace.") |
| 146 | |
| 147 | // heap.cc |
| 148 | DEFINE_int(new_space_size, 0, "size of (each semispace in) the new generation") |
| 149 | DEFINE_int(old_space_size, 0, "size of the old generation") |
| 150 | DEFINE_bool(gc_global, false, "always perform global GCs") |
| 151 | DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations") |
| 152 | DEFINE_bool(trace_gc, false, |
| 153 | "print one trace line following each garbage collection") |
kasperl@chromium.org | 7be3c99 | 2009-03-12 07:19:55 +0000 | [diff] [blame] | 154 | DEFINE_bool(collect_maps, true, |
kasperl@chromium.org | 9bbf968 | 2008-10-30 11:53:07 +0000 | [diff] [blame] | 155 | "garbage collect maps from which no objects can be reached") |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 156 | |
| 157 | // ic.cc |
| 158 | DEFINE_bool(use_ic, true, "use inline caching") |
| 159 | |
| 160 | // macro-assembler-ia32.cc |
| 161 | DEFINE_bool(native_code_counters, false, |
| 162 | "generate extra code for manipulating stats counters") |
| 163 | |
| 164 | // mark-compact.cc |
| 165 | DEFINE_bool(always_compact, false, "Perform compaction on every full GC") |
| 166 | DEFINE_bool(never_compact, false, |
| 167 | "Never perform compaction on full GC - testing only") |
| 168 | DEFINE_bool(cleanup_ics_at_gc, true, |
| 169 | "Flush inline caches prior to mark compact collection.") |
| 170 | DEFINE_bool(cleanup_caches_in_maps_at_gc, true, |
| 171 | "Flush code caches in maps during mark compact cycle.") |
| 172 | |
ager@chromium.org | 236ad96 | 2008-09-25 09:45:57 +0000 | [diff] [blame] | 173 | DEFINE_bool(canonicalize_object_literal_maps, true, |
| 174 | "Canonicalize maps for object literals.") |
| 175 | |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 176 | // mksnapshot.cc |
| 177 | DEFINE_bool(h, false, "print this message") |
| 178 | |
| 179 | // parser.cc |
| 180 | DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") |
| 181 | |
kasperl@chromium.org | 9bbf968 | 2008-10-30 11:53:07 +0000 | [diff] [blame] | 182 | // rewriter.cc |
| 183 | DEFINE_bool(optimize_ast, true, "optimize the ast") |
| 184 | |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 185 | // simulator-arm.cc |
| 186 | DEFINE_bool(trace_sim, false, "trace simulator execution") |
| 187 | DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 188 | |
| 189 | // top.cc |
| 190 | DEFINE_bool(trace_exception, false, |
| 191 | "print stack trace when throwing exceptions") |
| 192 | DEFINE_bool(preallocate_message_memory, false, |
| 193 | "preallocate some memory to build stack traces.") |
| 194 | |
| 195 | // usage-analyzer.cc |
| 196 | DEFINE_bool(usage_computation, true, "compute variable usage counts") |
| 197 | |
| 198 | // v8.cc |
| 199 | DEFINE_bool(preemption, false, |
| 200 | "activate a 100ms timer that switches between V8 threads") |
| 201 | |
ager@chromium.org | 381abbb | 2009-02-25 13:23:22 +0000 | [diff] [blame] | 202 | // Regexp |
| 203 | DEFINE_bool(trace_regexps, false, "trace regexp execution") |
kasperl@chromium.org | 7be3c99 | 2009-03-12 07:19:55 +0000 | [diff] [blame] | 204 | DEFINE_bool(regexp_native, true, |
| 205 | "use native code regexp implementation (IA32 only)") |
ager@chromium.org | 381abbb | 2009-02-25 13:23:22 +0000 | [diff] [blame] | 206 | DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") |
ager@chromium.org | a74f0da | 2008-12-03 16:05:52 +0000 | [diff] [blame] | 207 | |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 208 | // Testing flags test/cctest/test-{flags,api,serialization}.cc |
| 209 | DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") |
| 210 | DEFINE_int(testing_int_flag, 13, "testing_int_flag") |
| 211 | DEFINE_float(testing_float_flag, 2.5, "float-flag") |
| 212 | DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") |
| 213 | DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") |
| 214 | #ifdef WIN32 |
| 215 | DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", |
| 216 | "file in which to testing_serialize heap") |
| 217 | #else |
| 218 | DEFINE_string(testing_serialization_file, "/tmp/serdes", |
| 219 | "file in which to serialize heap") |
| 220 | #endif |
| 221 | |
kasperl@chromium.org | 5a8ca6c | 2008-10-23 13:57:19 +0000 | [diff] [blame] | 222 | // |
| 223 | // Dev shell flags |
| 224 | // |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 225 | |
ager@chromium.org | 3bf7b91 | 2008-11-17 09:09:45 +0000 | [diff] [blame] | 226 | DEFINE_bool(help, false, "Print usage message, including flags, on console") |
kasperl@chromium.org | 5a8ca6c | 2008-10-23 13:57:19 +0000 | [diff] [blame] | 227 | DEFINE_bool(dump_counters, false, "Dump counters on exit") |
christian.plesner.hansen@gmail.com | 37abdec | 2009-01-06 14:43:28 +0000 | [diff] [blame] | 228 | DEFINE_bool(debugger, true, "Enable JavaScript debugger") |
kasperl@chromium.org | 7be3c99 | 2009-03-12 07:19:55 +0000 | [diff] [blame] | 229 | DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " |
| 230 | "debugger agent in another process") |
| 231 | DEFINE_bool(debugger_agent, false, "Enable debugger agent") |
| 232 | DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") |
ager@chromium.org | a74f0da | 2008-12-03 16:05:52 +0000 | [diff] [blame] | 233 | DEFINE_string(map_counters, false, "Map counters to a file") |
ager@chromium.org | 3bf7b91 | 2008-11-17 09:09:45 +0000 | [diff] [blame] | 234 | DEFINE_args(js_arguments, JSArguments(), |
| 235 | "Pass all remaining arguments to the script. Alias for \"--\".") |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 236 | |
| 237 | // |
| 238 | // Debug only flags |
| 239 | // |
| 240 | #undef FLAG |
| 241 | #ifdef DEBUG |
| 242 | #define FLAG FLAG_FULL |
| 243 | #else |
| 244 | #define FLAG FLAG_READONLY |
| 245 | #endif |
| 246 | |
| 247 | // checks.cc |
| 248 | DEFINE_bool(enable_slow_asserts, false, |
| 249 | "enable asserts that are slow to execute") |
| 250 | |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 251 | // codegen-ia32.cc / codegen-arm.cc |
| 252 | DEFINE_bool(trace_codegen, false, |
| 253 | "print name of functions for which code is generated") |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 254 | DEFINE_bool(print_source, false, "pretty print source code") |
| 255 | DEFINE_bool(print_builtin_source, false, |
| 256 | "pretty print source code for builtins") |
| 257 | DEFINE_bool(print_ast, false, "print source AST") |
| 258 | DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") |
| 259 | DEFINE_bool(trace_calls, false, "trace calls") |
| 260 | DEFINE_bool(trace_builtin_calls, false, "trace builtins calls") |
| 261 | DEFINE_string(stop_at, "", "function name where to insert a breakpoint") |
| 262 | |
| 263 | // compiler.cc |
| 264 | DEFINE_bool(print_builtin_scopes, false, "print scopes for builtins") |
| 265 | DEFINE_bool(print_scopes, false, "print scopes") |
| 266 | |
| 267 | // contexts.cc |
| 268 | DEFINE_bool(trace_contexts, false, "trace contexts operations") |
| 269 | |
| 270 | // heap.cc |
| 271 | DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") |
| 272 | DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") |
| 273 | DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") |
| 274 | DEFINE_bool(code_stats, false, "report code statistics after GC") |
| 275 | DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") |
| 276 | DEFINE_bool(print_handles, false, "report handles after GC") |
| 277 | DEFINE_bool(print_global_handles, false, "report global handles after GC") |
| 278 | DEFINE_bool(print_rset, false, "print remembered sets before GC") |
| 279 | |
| 280 | // ic.cc |
| 281 | DEFINE_bool(trace_ic, false, "trace inline cache state transitions") |
| 282 | |
| 283 | // objects.cc |
| 284 | DEFINE_bool(trace_normalization, |
| 285 | false, |
| 286 | "prints when objects are turned into dictionaries.") |
| 287 | |
| 288 | // runtime.cc |
| 289 | DEFINE_bool(trace_lazy, false, "trace lazy compilation") |
| 290 | |
| 291 | // serialize.cc |
| 292 | DEFINE_bool(debug_serialization, false, |
| 293 | "write debug information into the snapshot.") |
| 294 | |
| 295 | // spaces.cc |
| 296 | DEFINE_bool(collect_heap_spill_statistics, false, |
| 297 | "report heap spill statistics along with heap_stats " |
| 298 | "(requires heap_stats)") |
| 299 | |
ager@chromium.org | 381abbb | 2009-02-25 13:23:22 +0000 | [diff] [blame] | 300 | // Regexp |
| 301 | DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") |
| 302 | DEFINE_bool(trace_regexp_assembler, |
| 303 | false, |
| 304 | "trace regexp macro assembler calls.") |
ager@chromium.org | a74f0da | 2008-12-03 16:05:52 +0000 | [diff] [blame] | 305 | |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 306 | // |
| 307 | // Logging and profiling only flags |
| 308 | // |
| 309 | #undef FLAG |
| 310 | #ifdef ENABLE_LOGGING_AND_PROFILING |
| 311 | #define FLAG FLAG_FULL |
| 312 | #else |
| 313 | #define FLAG FLAG_READONLY |
| 314 | #endif |
| 315 | |
| 316 | // log.cc |
| 317 | DEFINE_bool(log, false, |
| 318 | "Minimal logging (no API, code, GC, suspect, or handles samples).") |
| 319 | DEFINE_bool(log_all, false, "Log all events to the log file.") |
ager@chromium.org | 381abbb | 2009-02-25 13:23:22 +0000 | [diff] [blame] | 320 | DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.") |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 321 | DEFINE_bool(log_api, false, "Log API events to the log file.") |
| 322 | DEFINE_bool(log_code, false, |
| 323 | "Log code events to the log file without profiling.") |
| 324 | DEFINE_bool(log_gc, false, |
| 325 | "Log heap samples on garbage collection for the hp2ps tool.") |
| 326 | DEFINE_bool(log_handles, false, "Log global handle events.") |
| 327 | DEFINE_bool(log_state_changes, false, "Log state changes.") |
| 328 | DEFINE_bool(log_suspect, false, "Log suspect operations.") |
| 329 | DEFINE_bool(prof, false, |
| 330 | "Log statistical profiling information (implies --log-code).") |
iposva@chromium.org | 245aa85 | 2009-02-10 00:49:54 +0000 | [diff] [blame] | 331 | DEFINE_bool(prof_auto, true, |
| 332 | "Used with --prof, starts profiling automatically") |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 333 | DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
| 334 | DEFINE_bool(sliding_state_window, false, |
| 335 | "Update sliding state window counters.") |
| 336 | DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
kasperl@chromium.org | 7be3c99 | 2009-03-12 07:19:55 +0000 | [diff] [blame] | 337 | DEFINE_bool(oprofile, false, |
| 338 | "Enable JIT agent for OProfile.") |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 339 | |
| 340 | // |
| 341 | // Disassembler only flags |
| 342 | // |
| 343 | #undef FLAG |
| 344 | #ifdef ENABLE_DISASSEMBLER |
| 345 | #define FLAG FLAG_FULL |
| 346 | #else |
| 347 | #define FLAG FLAG_READONLY |
| 348 | #endif |
| 349 | |
kasperl@chromium.org | 7be3c99 | 2009-03-12 07:19:55 +0000 | [diff] [blame] | 350 | // code-stubs.cc |
| 351 | DEFINE_bool(print_code_stubs, false, "print code stubs") |
| 352 | |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 353 | // codegen-ia32.cc / codegen-arm.cc |
| 354 | DEFINE_bool(print_code, false, "print generated code") |
ager@chromium.org | 8bb6058 | 2008-12-11 12:02:20 +0000 | [diff] [blame] | 355 | DEFINE_bool(print_builtin_code, false, "print generated code for builtins") |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 356 | |
kasperl@chromium.org | b912362 | 2008-09-17 14:05:56 +0000 | [diff] [blame] | 357 | // Cleanup... |
| 358 | #undef FLAG_FULL |
| 359 | #undef FLAG_READONLY |
| 360 | #undef FLAG |
| 361 | |
| 362 | #undef DEFINE_bool |
| 363 | #undef DEFINE_int |
| 364 | #undef DEFINE_string |
| 365 | |
| 366 | #undef FLAG_MODE_DECLARE |
| 367 | #undef FLAG_MODE_DEFINE |
| 368 | #undef FLAG_MODE_DEFINE_DEFAULTS |
| 369 | #undef FLAG_MODE_META |