Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

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

Issue 2381773003: Add a flag for aborting on stack overflow. (Closed)
Patch Set: Address comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »
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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 DEFINE_BOOL(ignore_asm_unimplemented_break, false, 864 DEFINE_BOOL(ignore_asm_unimplemented_break, false,
865 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") 865 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.")
866 DEFINE_BOOL(trace_sim_messages, false, 866 DEFINE_BOOL(trace_sim_messages, false,
867 "Trace simulator debug messages. Implied by --trace-sim.") 867 "Trace simulator debug messages. Implied by --trace-sim.")
868 868
869 // isolate.cc 869 // isolate.cc
870 DEFINE_BOOL(stack_trace_on_illegal, false, 870 DEFINE_BOOL(stack_trace_on_illegal, false,
871 "print stack trace when an illegal exception is thrown") 871 "print stack trace when an illegal exception is thrown")
872 DEFINE_BOOL(abort_on_uncaught_exception, false, 872 DEFINE_BOOL(abort_on_uncaught_exception, false,
873 "abort program (dump core) when an uncaught exception is thrown") 873 "abort program (dump core) when an uncaught exception is thrown")
874 DEFINE_BOOL(abort_on_stack_overflow, false,
875 "Abort program when stack overflow (as opposed to throwing "
876 "RangeError). This is useful for fuzzing where the spec behaviour "
877 "would introduce nondeterminism.")
874 DEFINE_BOOL(randomize_hashes, true, 878 DEFINE_BOOL(randomize_hashes, true,
875 "randomize hashes to avoid predictable hash collisions " 879 "randomize hashes to avoid predictable hash collisions "
876 "(with snapshots this option cannot override the baked-in seed)") 880 "(with snapshots this option cannot override the baked-in seed)")
877 DEFINE_INT(hash_seed, 0, 881 DEFINE_INT(hash_seed, 0,
878 "Fixed seed to use to hash property keys (0 means random)" 882 "Fixed seed to use to hash property keys (0 means random)"
879 "(with snapshots this option cannot override the baked-in seed)") 883 "(with snapshots this option cannot override the baked-in seed)")
880 DEFINE_BOOL(trace_rail, false, "trace RAIL mode") 884 DEFINE_BOOL(trace_rail, false, "trace RAIL mode")
881 885
882 // runtime.cc 886 // runtime.cc
883 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times") 887 DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times")
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 #undef DEFINE_ALIAS_FLOAT 1214 #undef DEFINE_ALIAS_FLOAT
1211 #undef DEFINE_ALIAS_ARGS 1215 #undef DEFINE_ALIAS_ARGS
1212 1216
1213 #undef FLAG_MODE_DECLARE 1217 #undef FLAG_MODE_DECLARE
1214 #undef FLAG_MODE_DEFINE 1218 #undef FLAG_MODE_DEFINE
1215 #undef FLAG_MODE_DEFINE_DEFAULTS 1219 #undef FLAG_MODE_DEFINE_DEFAULTS
1216 #undef FLAG_MODE_META 1220 #undef FLAG_MODE_META
1217 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1221 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1218 1222
1219 #undef COMMA 1223 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698