| Index: src/flag-definitions.h
|
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h
|
| index 3ed11cbaef3bf6c21030fc55f1bc10a3c904e9b0..b4a64a500aa8a0a0213a417b6e4827dd94976fb1 100644
|
| --- a/src/flag-definitions.h
|
| +++ b/src/flag-definitions.h
|
| @@ -519,7 +519,11 @@ DEFINE_BOOL(wasm_atomics_prototype, false,
|
|
|
| DEFINE_BOOL(wasm_trap_handler, false,
|
| "use signal handlers to catch out of bounds memory access in wasm"
|
| - " (currently Linux x86_64 only)")
|
| + " (experimental, currently Linux x86_64 only)")
|
| +DEFINE_BOOL(wasm_guard_pages, false,
|
| + "add guard pages to the end of WebWassembly memory"
|
| + " (experimental, no effect on 32-bit)")
|
| +DEFINE_IMPLICATION(wasm_trap_handler, wasm_guard_pages)
|
|
|
| // Profiler flags.
|
| DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")
|
|
|