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

Unified Diff: src/flag-definitions.h

Issue 2301833004: [wasm] Trap handling: ProtectedLoad instruction (Closed)
Patch Set: Manual Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698