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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 DEFINE_bool(debugger, false, "Enable JavaScript debugger") | 664 DEFINE_bool(debugger, false, "Enable JavaScript debugger") |
665 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " | 665 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " |
666 "debugger agent in another process") | 666 "debugger agent in another process") |
667 DEFINE_bool(debugger_agent, false, "Enable debugger agent") | 667 DEFINE_bool(debugger_agent, false, "Enable debugger agent") |
668 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") | 668 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") |
669 | 669 |
670 DEFINE_string(map_counters, "", "Map counters to a file") | 670 DEFINE_string(map_counters, "", "Map counters to a file") |
671 DEFINE_args(js_arguments, | 671 DEFINE_args(js_arguments, |
672 "Pass all remaining arguments to the script. Alias for \"--\".") | 672 "Pass all remaining arguments to the script. Alias for \"--\".") |
673 | 673 |
674 #if defined(WEBOS__) | |
675 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events") | |
676 DEFINE_bool(debug_script_collected_events, false, | |
677 "Enable debugger script collected events") | |
678 #else | |
679 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events") | |
680 DEFINE_bool(debug_script_collected_events, true, | |
681 "Enable debugger script collected events") | |
682 #endif | |
683 | |
684 | |
685 // | 674 // |
686 // GDB JIT integration flags. | 675 // GDB JIT integration flags. |
687 // | 676 // |
688 | 677 |
689 DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)") | 678 DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)") |
690 DEFINE_bool(gdbjit_full, false, "enable GDBJIT interface for all code objects") | 679 DEFINE_bool(gdbjit_full, false, "enable GDBJIT interface for all code objects") |
691 DEFINE_bool(gdbjit_dump, false, "dump elf objects with debug info to disk") | 680 DEFINE_bool(gdbjit_dump, false, "dump elf objects with debug info to disk") |
692 DEFINE_string(gdbjit_dump_filter, "", | 681 DEFINE_string(gdbjit_dump_filter, "", |
693 "dump only objects containing this substring") | 682 "dump only objects containing this substring") |
694 | 683 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 #undef DEFINE_ALIAS_float | 899 #undef DEFINE_ALIAS_float |
911 #undef DEFINE_ALIAS_args | 900 #undef DEFINE_ALIAS_args |
912 | 901 |
913 #undef FLAG_MODE_DECLARE | 902 #undef FLAG_MODE_DECLARE |
914 #undef FLAG_MODE_DEFINE | 903 #undef FLAG_MODE_DEFINE |
915 #undef FLAG_MODE_DEFINE_DEFAULTS | 904 #undef FLAG_MODE_DEFINE_DEFAULTS |
916 #undef FLAG_MODE_META | 905 #undef FLAG_MODE_META |
917 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 906 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
918 | 907 |
919 #undef COMMA | 908 #undef COMMA |
OLD | NEW |