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

Unified Diff: src/flag-definitions.h

Issue 2301833004: [wasm] Trap handling: ProtectedLoad instruction (Closed)
Patch Set: Removing unrelated changes 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..c821f3273b6b5890351820f36aa08331977d47f1 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -527,6 +527,9 @@ 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")
Mircea Trofin 2016/09/02 04:05:45 do you want to call this flag wasm_trap_handler_x6
Eric Holk 2016/09/02 20:05:32 I added a note in the comment. We could also make
+
// 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