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

Unified Diff: include/v8.h

Issue 2371833007: [wasm] Initial signal handler (Closed)
Patch Set: Addressing some of Jochen's feedback Created 3 years, 12 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
« no previous file with comments | « BUILD.gn ('k') | src/compiler/wasm-compiler.cc » ('j') | src/isolate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 3d8082ee1415f7a5ff41f4b059cce528bf22c381..c9ad5db4392afe7f0fa3aae90760946abe30563f 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -7578,6 +7578,17 @@ class V8_EXPORT V8 {
*/
static void ShutdownPlatform();
+ /**
+ * Given the V8 signal handler a chance to handle a fault.
+ */
+ static bool MaybeHandleFault(int signum, void* info, void* context);
titzer 2017/01/09 09:26:56 Trying to think of a better name here...MaybeHandl
Eric Holk 2017/01/10 23:10:48 Yeah, Maybe seems a little noncommittal. I feel li
+
+ /**
+ * Enable the default signal handler rather than using one provided by the
+ * embedder.
+ */
+ static bool RegisterDefaultSignalHandler();
+
private:
V8();
« no previous file with comments | « BUILD.gn ('k') | src/compiler/wasm-compiler.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698