Chromium Code Reviews

Side by Side Diff: src/flag-definitions.h

Issue 957673004: Rebase GDBJIT interface solely on JITCodeEvent (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « src/compiler.cc ('k') | src/gdb-jit.h » ('j') | src/gdb-jit.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 751 matching lines...)
762 762
763 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") 763 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger")
764 764
765 DEFINE_STRING(map_counters, "", "Map counters to a file") 765 DEFINE_STRING(map_counters, "", "Map counters to a file")
766 DEFINE_ARGS(js_arguments, 766 DEFINE_ARGS(js_arguments,
767 "Pass all remaining arguments to the script. Alias for \"--\".") 767 "Pass all remaining arguments to the script. Alias for \"--\".")
768 768
769 // 769 //
770 // GDB JIT integration flags. 770 // GDB JIT integration flags.
771 // 771 //
772 #undef FLAG
773 #ifdef ENABLE_GDB_JIT_INTERFACE
774 #define FLAG FLAG_FULL
775 #else
776 #define FLAG FLAG_READONLY
777 #endif
772 778
773 DEFINE_BOOL(gdbjit, false, "enable GDBJIT interface (disables compacting GC)") 779 DEFINE_BOOL(gdbjit, false, "enable GDBJIT interface")
774 DEFINE_BOOL(gdbjit_full, false, "enable GDBJIT interface for all code objects") 780 DEFINE_BOOL(gdbjit_full, false, "enable GDBJIT interface for all code objects")
775 DEFINE_BOOL(gdbjit_dump, false, "dump elf objects with debug info to disk") 781 DEFINE_BOOL(gdbjit_dump, false, "dump elf objects with debug info to disk")
776 DEFINE_STRING(gdbjit_dump_filter, "", 782 DEFINE_STRING(gdbjit_dump_filter, "",
777 "dump only objects containing this substring") 783 "dump only objects containing this substring")
778 784
785 #ifdef ENABLE_GDB_JIT_INTERFACE
786 DEFINE_IMPLICATION(gdbjit_full, gdbjit)
787 DEFINE_IMPLICATION(gdbjit_dump, gdbjit)
788 #endif
789 DEFINE_NEG_IMPLICATION(gdbjit, compact_code_space)
790
791 #undef FLAG
792 #define FLAG FLAG_FULL
Michael Starzinger 2015/02/25 10:16:45 nit: Can we move the mark-compact.cc flags up a fe
wingo 2015/02/25 11:49:11 Done.
793
779 // mark-compact.cc 794 // mark-compact.cc
780 DEFINE_BOOL(force_marking_deque_overflows, false, 795 DEFINE_BOOL(force_marking_deque_overflows, false,
781 "force overflows of marking deque by reducing it's size " 796 "force overflows of marking deque by reducing it's size "
782 "to 64 words") 797 "to 64 words")
783 798
784 DEFINE_BOOL(stress_compaction, false, 799 DEFINE_BOOL(stress_compaction, false,
785 "stress the GC compactor to flush out bugs (implies " 800 "stress the GC compactor to flush out bugs (implies "
786 "--force_marking_deque_overflows)") 801 "--force_marking_deque_overflows)")
787 802
788 // 803 //
(...skipping 230 matching lines...)
1019 #undef DEFINE_ALIAS_FLOAT 1034 #undef DEFINE_ALIAS_FLOAT
1020 #undef DEFINE_ALIAS_ARGS 1035 #undef DEFINE_ALIAS_ARGS
1021 1036
1022 #undef FLAG_MODE_DECLARE 1037 #undef FLAG_MODE_DECLARE
1023 #undef FLAG_MODE_DEFINE 1038 #undef FLAG_MODE_DEFINE
1024 #undef FLAG_MODE_DEFINE_DEFAULTS 1039 #undef FLAG_MODE_DEFINE_DEFAULTS
1025 #undef FLAG_MODE_META 1040 #undef FLAG_MODE_META
1026 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1041 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1027 1042
1028 #undef COMMA 1043 #undef COMMA
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/gdb-jit.h » ('j') | src/gdb-jit.h » ('J')

Powered by Google App Engine