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

Unified Diff: src/flag-definitions.h

Issue 2396433008: [wasm] Add guard regions to end of WebAssembly.Memory buffers (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/v8/v8 into guard-pages Created 4 years, 1 month 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 845b0498f83d4c2a96508a712f6b0e50cc2ed391..9b24a8e4599a175615eed0e4a1155c0a6194ad68 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -525,7 +525,9 @@ 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)")
titzer 2016/11/07 19:54:52 I think you should just be able to do a DEFINE_IMP
Eric Holk 2016/11/08 23:58:15 Oh awesome, this is exactly what I wanted. done.
// Profiler flags.
DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")

Powered by Google App Engine
This is Rietveld 408576698