Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index c201316be3f23076e68a1b249441604fc36eb22a..7cba26d216733cb61a0424ea5dccc4109c6d075e 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -527,6 +527,10 @@ DEFINE_BOOL(wasm_simd_prototype, false, |
DEFINE_BOOL(wasm_eh_prototype, false, |
"enable prototype exception handling opcodes for wasm") |
+DEFINE_BOOL(wasm_trap_handler, false, |
+ "use signal handlers to catch out of bounds memory access in wasm" |
+ " (currently Linux x86_64 only)") |
+ |
// Profiler flags. |
DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
// 0x1800 fits in the immediate field of an ARM instruction. |