flag-definitions.h revision 2b4ba1175df6a5a6b9b5cda034189197bf6565ec
1// Copyright 2011 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, false },
66#define FLAG_READONLY(ftype, ctype, nam, def, cmt)
67
68#else
69#error No mode supplied when including flags.defs
70#endif
71
72#ifdef FLAG_MODE_DECLARE
73// Structure used to hold a collection of arguments to the JavaScript code.
74struct JSArguments {
75public:
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);
82private:
83  int argc_;
84  const char** argv_;
85};
86#endif
87
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)
92#define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt)
93
94//
95// Flags in all modes.
96//
97#define FLAG FLAG_FULL
98
99// Flags for experimental language features.
100DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof")
101DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
102DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps")
103DEFINE_bool(harmony_block_scoping, false, "enable harmony block scoping")
104
105// Flags for experimental implementation features.
106DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
107DEFINE_bool(string_slices, false, "use string slices")
108
109// Flags for Crankshaft.
110#ifdef V8_TARGET_ARCH_MIPS
111  DEFINE_bool(crankshaft, false, "use crankshaft")
112#else
113  DEFINE_bool(crankshaft, true, "use crankshaft")
114#endif
115DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter")
116DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation")
117DEFINE_bool(build_lithium, true, "use lithium chunk builder")
118DEFINE_bool(alloc_lithium, true, "use lithium register allocator")
119DEFINE_bool(use_lithium, true, "use lithium code generator")
120DEFINE_bool(use_range, true, "use hydrogen range analysis")
121DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis")
122DEFINE_bool(use_gvn, true, "use hydrogen global value numbering")
123DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
124DEFINE_bool(use_inlining, true, "use function inlining")
125DEFINE_bool(limit_inlining, true, "limit code size growth from inlining")
126DEFINE_bool(eliminate_empty_blocks, true, "eliminate empty blocks")
127DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion")
128DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen")
129DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file")
130DEFINE_bool(trace_inlining, false, "trace inlining decisions")
131DEFINE_bool(trace_alloc, false, "trace register allocator")
132DEFINE_bool(trace_all_uses, false, "trace all use positions")
133DEFINE_bool(trace_range, false, "trace range analysis")
134DEFINE_bool(trace_gvn, false, "trace global value numbering")
135DEFINE_bool(trace_representation, false, "trace representation types")
136DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction")
137DEFINE_bool(stress_environments, false, "environment for every instruction")
138DEFINE_int(deopt_every_n_times,
139           0,
140           "deoptimize every n times a deopt point is passed")
141DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing")
142DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases")
143DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining")
144DEFINE_bool(use_osr, true, "use on-stack replacement")
145
146DEFINE_bool(trace_osr, false, "trace on-stack replacement")
147DEFINE_int(stress_runs, 0, "number of stress runs")
148DEFINE_bool(optimize_closures, true, "optimize closures")
149
150// assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
151DEFINE_bool(debug_code, false,
152            "generate extra code (assertions) for debugging")
153DEFINE_bool(code_comments, false, "emit comments in code disassembly")
154DEFINE_bool(peephole_optimization, true,
155            "perform peephole optimizations in assembly code")
156DEFINE_bool(enable_sse2, true,
157            "enable use of SSE2 instructions if available")
158DEFINE_bool(enable_sse3, true,
159            "enable use of SSE3 instructions if available")
160DEFINE_bool(enable_sse4_1, true,
161            "enable use of SSE4.1 instructions if available")
162DEFINE_bool(enable_cmov, true,
163            "enable use of CMOV instruction if available")
164DEFINE_bool(enable_rdtsc, true,
165            "enable use of RDTSC instruction if available")
166DEFINE_bool(enable_sahf, true,
167            "enable use of SAHF instruction if available (X64 only)")
168DEFINE_bool(enable_vfp3, true,
169            "enable use of VFP3 instructions if available - this implies "
170            "enabling ARMv7 instructions (ARM only)")
171DEFINE_bool(enable_armv7, true,
172            "enable use of ARMv7 instructions if available (ARM only)")
173DEFINE_bool(enable_fpu, true,
174            "enable use of MIPS FPU instructions if available (MIPS only)")
175
176// bootstrapper.cc
177DEFINE_string(expose_natives_as, NULL, "expose natives in global object")
178DEFINE_string(expose_debug_as, NULL, "expose debug in global object")
179DEFINE_bool(expose_gc, false, "expose gc extension")
180DEFINE_bool(expose_externalize_string, false,
181            "expose externalize string extension")
182DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture")
183DEFINE_bool(disable_native_files, false, "disable builtin natives files")
184
185// builtins-ia32.cc
186DEFINE_bool(inline_new, true, "use fast inline allocation")
187
188// checks.cc
189DEFINE_bool(stack_trace_on_abort, true,
190            "print a stack trace if an assertion failure occurs")
191
192// codegen-ia32.cc / codegen-arm.cc
193DEFINE_bool(trace, false, "trace function calls")
194DEFINE_bool(mask_constants_with_cookie,
195            true,
196            "use random jit cookie to mask large constants")
197
198// codegen.cc
199DEFINE_bool(lazy, true, "use lazy compilation")
200DEFINE_bool(trace_opt, false, "trace lazy optimization")
201DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics")
202DEFINE_bool(opt, true, "use adaptive optimizations")
203DEFINE_bool(opt_eagerly, false, "be more eager when adaptively optimizing")
204DEFINE_bool(always_opt, false, "always try to optimize functions")
205DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt")
206DEFINE_bool(deopt, true, "support deoptimization")
207DEFINE_bool(trace_deopt, false, "trace deoptimization")
208
209// compiler.cc
210DEFINE_int(min_preparse_length, 1024,
211           "minimum length for automatic enable preparsing")
212DEFINE_bool(always_full_compiler, false,
213            "try to use the dedicated run-once backend for all code")
214DEFINE_bool(trace_bailout, false,
215            "print reasons for falling back to using the classic V8 backend")
216
217// compilation-cache.cc
218DEFINE_bool(compilation_cache, true, "enable compilation cache")
219
220DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions")
221
222// debug.cc
223DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response")
224DEFINE_bool(debugger_auto_break, true,
225            "automatically set the debug break flag when debugger commands are "
226            "in the queue")
227DEFINE_bool(enable_liveedit, true, "enable liveedit experimental feature")
228
229// execution.cc
230DEFINE_int(stack_size, kPointerSize * 128,
231           "default size of stack region v8 is allowed to use (in KkBytes)")
232
233// frames.cc
234DEFINE_int(max_stack_trace_source_length, 300,
235           "maximum length of function source code printed in a stack trace.")
236
237// full-codegen.cc
238DEFINE_bool(always_inline_smi_code, false,
239            "always inline smi code in non-opt code")
240
241// heap.cc
242DEFINE_int(max_new_space_size, 0, "max size of the new generation (in kBytes)")
243DEFINE_int(max_old_space_size, 0, "max size of the old generation (in Mbytes)")
244DEFINE_int(max_executable_size, 0, "max size of executable memory (in Mbytes)")
245DEFINE_bool(gc_global, false, "always perform global GCs")
246DEFINE_int(gc_interval, -1, "garbage collect after <n> allocations")
247DEFINE_bool(trace_gc, false,
248            "print one trace line following each garbage collection")
249DEFINE_bool(trace_gc_nvp, false,
250            "print one detailed trace line in name=value format "
251            "after each garbage collection")
252DEFINE_bool(print_cumulative_gc_stat, false,
253            "print cumulative GC statistics in name=value format on exit")
254DEFINE_bool(trace_gc_verbose, false,
255            "print more details following each garbage collection")
256DEFINE_bool(collect_maps, true,
257            "garbage collect maps from which no objects can be reached")
258DEFINE_bool(flush_code, true,
259            "flush code that we expect not to use again before full gc")
260
261// v8.cc
262DEFINE_bool(use_idle_notification, true,
263            "Use idle notification to reduce memory footprint.")
264// ic.cc
265DEFINE_bool(use_ic, true, "use inline caching")
266
267#ifdef LIVE_OBJECT_LIST
268// liveobjectlist.cc
269DEFINE_string(lol_workdir, NULL, "path for lol temp files")
270DEFINE_bool(verify_lol, false, "perform debugging verification for lol")
271#endif
272
273// macro-assembler-ia32.cc
274DEFINE_bool(native_code_counters, false,
275            "generate extra code for manipulating stats counters")
276
277// mark-compact.cc
278DEFINE_bool(always_compact, false, "Perform compaction on every full GC")
279DEFINE_bool(never_compact, false,
280            "Never perform compaction on full GC - testing only")
281DEFINE_bool(cleanup_code_caches_at_gc, true,
282            "Flush inline caches prior to mark compact collection and "
283            "flush code caches in maps during mark compact cycle.")
284DEFINE_int(random_seed, 0,
285           "Default seed for initializing random generator "
286           "(0, the default, means to use system random).")
287
288DEFINE_bool(canonicalize_object_literal_maps, true,
289            "Canonicalize maps for object literals.")
290
291DEFINE_bool(use_big_map_space, true,
292            "Use big map space, but don't compact if it grew too big.")
293
294DEFINE_int(max_map_space_pages, MapSpace::kMaxMapPageIndex - 1,
295           "Maximum number of pages in map space which still allows to encode "
296           "forwarding pointers.  That's actually a constant, but it's useful "
297           "to control it with a flag for better testing.")
298
299// mksnapshot.cc
300DEFINE_bool(h, false, "print this message")
301DEFINE_bool(new_snapshot, true, "use new snapshot implementation")
302
303// objects.cc
304DEFINE_bool(use_verbose_printer, true, "allows verbose printing")
305
306// parser.cc
307DEFINE_bool(allow_natives_syntax, false, "allow natives syntax")
308DEFINE_bool(strict_mode, true, "allow strict mode directives")
309
310// simulator-arm.cc and simulator-mips.cc
311DEFINE_bool(trace_sim, false, "Trace simulator execution")
312DEFINE_bool(check_icache, false, "Check icache flushes in ARM simulator")
313DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions")
314DEFINE_int(sim_stack_alignment, 8,
315           "Stack alingment in bytes in simulator (4 or 8, 8 is default)")
316
317// isolate.cc
318DEFINE_bool(trace_exception, false,
319            "print stack trace when throwing exceptions")
320DEFINE_bool(preallocate_message_memory, false,
321            "preallocate some memory to build stack traces.")
322DEFINE_bool(randomize_hashes,
323            true,
324            "randomize hashes to avoid predictable hash collisions "
325            "(with snapshots this option cannot override the baked-in seed)")
326DEFINE_int(hash_seed,
327           0,
328           "Fixed seed to use to hash property keys (0 means random)"
329           "(with snapshots this option cannot override the baked-in seed)")
330
331// v8.cc
332DEFINE_bool(preemption, false,
333            "activate a 100ms timer that switches between V8 threads")
334
335// Regexp
336DEFINE_bool(regexp_optimization, true, "generate optimized regexp code")
337DEFINE_bool(regexp_entry_native, true, "use native code to enter regexp")
338
339// Testing flags test/cctest/test-{flags,api,serialization}.cc
340DEFINE_bool(testing_bool_flag, true, "testing_bool_flag")
341DEFINE_int(testing_int_flag, 13, "testing_int_flag")
342DEFINE_float(testing_float_flag, 2.5, "float-flag")
343DEFINE_string(testing_string_flag, "Hello, world!", "string-flag")
344DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness")
345#ifdef WIN32
346DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes",
347              "file in which to testing_serialize heap")
348#else
349DEFINE_string(testing_serialization_file, "/tmp/serdes",
350              "file in which to serialize heap")
351#endif
352
353//
354// Dev shell flags
355//
356
357DEFINE_bool(help, false, "Print usage message, including flags, on console")
358DEFINE_bool(dump_counters, false, "Dump counters on exit")
359DEFINE_bool(debugger, false, "Enable JavaScript debugger")
360DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the "
361                                    "debugger agent in another process")
362DEFINE_bool(debugger_agent, false, "Enable debugger agent")
363DEFINE_int(debugger_port, 5858, "Port to use for remote debugging")
364DEFINE_string(map_counters, "", "Map counters to a file")
365DEFINE_args(js_arguments, JSArguments(),
366            "Pass all remaining arguments to the script. Alias for \"--\".")
367
368#if defined(WEBOS__)
369DEFINE_bool(debug_compile_events, false, "Enable debugger compile events")
370DEFINE_bool(debug_script_collected_events, false,
371            "Enable debugger script collected events")
372#else
373DEFINE_bool(debug_compile_events, true, "Enable debugger compile events")
374DEFINE_bool(debug_script_collected_events, true,
375            "Enable debugger script collected events")
376#endif
377
378
379//
380// GDB JIT integration flags.
381//
382
383DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)")
384DEFINE_bool(gdbjit_full, false, "enable GDBJIT interface for all code objects")
385DEFINE_bool(gdbjit_dump, false, "dump elf objects with debug info to disk")
386DEFINE_string(gdbjit_dump_filter, "",
387              "dump only objects containing this substring")
388
389//
390// Debug only flags
391//
392#undef FLAG
393#ifdef DEBUG
394#define FLAG FLAG_FULL
395#else
396#define FLAG FLAG_READONLY
397#endif
398
399// checks.cc
400DEFINE_bool(enable_slow_asserts, false,
401            "enable asserts that are slow to execute")
402
403// codegen-ia32.cc / codegen-arm.cc
404DEFINE_bool(trace_codegen, false,
405            "print name of functions for which code is generated")
406DEFINE_bool(print_source, false, "pretty print source code")
407DEFINE_bool(print_builtin_source, false,
408            "pretty print source code for builtins")
409DEFINE_bool(print_ast, false, "print source AST")
410DEFINE_bool(print_builtin_ast, false, "print source AST for builtins")
411DEFINE_bool(print_json_ast, false, "print source AST as JSON")
412DEFINE_bool(print_builtin_json_ast, false,
413            "print source AST for builtins as JSON")
414DEFINE_string(stop_at, "", "function name where to insert a breakpoint")
415DEFINE_bool(verify_stack_height, false, "verify stack height tracing on ia32")
416
417// compiler.cc
418DEFINE_bool(print_builtin_scopes, false, "print scopes for builtins")
419DEFINE_bool(print_scopes, false, "print scopes")
420
421// contexts.cc
422DEFINE_bool(trace_contexts, false, "trace contexts operations")
423
424// heap.cc
425DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations")
426DEFINE_bool(gc_verbose, false, "print stuff during garbage collection")
427DEFINE_bool(heap_stats, false, "report heap statistics before and after GC")
428DEFINE_bool(code_stats, false, "report code statistics after GC")
429DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC")
430DEFINE_bool(print_handles, false, "report handles after GC")
431DEFINE_bool(print_global_handles, false, "report global handles after GC")
432
433// ic.cc
434DEFINE_bool(trace_ic, false, "trace inline cache state transitions")
435
436// objects.cc
437DEFINE_bool(trace_normalization,
438            false,
439            "prints when objects are turned into dictionaries.")
440
441// runtime.cc
442DEFINE_bool(trace_lazy, false, "trace lazy compilation")
443
444// serialize.cc
445DEFINE_bool(debug_serialization, false,
446            "write debug information into the snapshot.")
447
448// spaces.cc
449DEFINE_bool(collect_heap_spill_statistics, false,
450            "report heap spill statistics along with heap_stats "
451            "(requires heap_stats)")
452
453DEFINE_bool(trace_isolates, false, "trace isolate state changes")
454
455// VM state
456DEFINE_bool(log_state_changes, false, "Log state changes.")
457
458// Regexp
459DEFINE_bool(regexp_possessive_quantifier,
460            false,
461            "enable possessive quantifier syntax for testing")
462DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution")
463DEFINE_bool(trace_regexp_assembler,
464            false,
465            "trace regexp macro assembler calls.")
466
467//
468// Logging and profiling flags
469//
470#undef FLAG
471#define FLAG FLAG_FULL
472
473// log.cc
474DEFINE_bool(log, false,
475            "Minimal logging (no API, code, GC, suspect, or handles samples).")
476DEFINE_bool(log_all, false, "Log all events to the log file.")
477DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.")
478DEFINE_bool(log_api, false, "Log API events to the log file.")
479DEFINE_bool(log_code, false,
480            "Log code events to the log file without profiling.")
481DEFINE_bool(log_gc, false,
482            "Log heap samples on garbage collection for the hp2ps tool.")
483DEFINE_bool(log_handles, false, "Log global handle events.")
484DEFINE_bool(log_snapshot_positions, false,
485            "log positions of (de)serialized objects in the snapshot.")
486DEFINE_bool(log_suspect, false, "Log suspect operations.")
487DEFINE_bool(prof, false,
488            "Log statistical profiling information (implies --log-code).")
489DEFINE_bool(prof_auto, true,
490            "Used with --prof, starts profiling automatically")
491DEFINE_bool(prof_lazy, false,
492            "Used with --prof, only does sampling and logging"
493            " when profiler is active (implies --noprof_auto).")
494DEFINE_bool(prof_browser_mode, true,
495            "Used with --prof, turns on browser-compatible mode for profiling.")
496DEFINE_bool(log_regexp, false, "Log regular expression execution.")
497DEFINE_bool(sliding_state_window, false,
498            "Update sliding state window counters.")
499DEFINE_string(logfile, "v8.log", "Specify the name of the log file.")
500DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.")
501
502//
503// Disassembler only flags
504//
505#undef FLAG
506#ifdef ENABLE_DISASSEMBLER
507#define FLAG FLAG_FULL
508#else
509#define FLAG FLAG_READONLY
510#endif
511
512// code-stubs.cc
513DEFINE_bool(print_code_stubs, false, "print code stubs")
514
515// codegen-ia32.cc / codegen-arm.cc
516DEFINE_bool(print_code, false, "print generated code")
517DEFINE_bool(print_opt_code, false, "print optimized code")
518DEFINE_bool(print_unopt_code, false, "print unoptimized code before "
519            "printing optimized code based on it")
520DEFINE_bool(print_code_verbose, false, "print more information for code")
521DEFINE_bool(print_builtin_code, false, "print generated code for builtins")
522
523// Cleanup...
524#undef FLAG_FULL
525#undef FLAG_READONLY
526#undef FLAG
527
528#undef DEFINE_bool
529#undef DEFINE_int
530#undef DEFINE_string
531
532#undef FLAG_MODE_DECLARE
533#undef FLAG_MODE_DEFINE
534#undef FLAG_MODE_DEFINE_DEFAULTS
535#undef FLAG_MODE_META
536