| Index: src/flag-definitions.h
|
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h
|
| index 83d32dccbfc09f48d365d94af11b5ae22bf3aec0..e1895e3ef47761673df423b4d1c86a16a0e41d00 100644
|
| --- a/src/flag-definitions.h
|
| +++ b/src/flag-definitions.h
|
| @@ -531,6 +531,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.
|
|
|