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

Unified Diff: components/crash/content/app/breakpad_linux.h

Issue 2885053005: Give v8 a chance to handle signals (Closed)
Patch Set: Rebasing Created 3 years, 5 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 | « chrome/app/chrome_main_delegate.cc ('k') | components/crash/content/app/breakpad_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/content/app/breakpad_linux.h
diff --git a/components/crash/content/app/breakpad_linux.h b/components/crash/content/app/breakpad_linux.h
index 0160f62845614dc788bae42d6aa7440dc9dddba4..4a2a429fc05259c988a0bf9a2912b2750a653dbc 100644
--- a/components/crash/content/app/breakpad_linux.h
+++ b/components/crash/content/app/breakpad_linux.h
@@ -61,6 +61,10 @@ bool IsCrashReporterEnabled();
// Generates a minidump on demand for this process, writing it to |dump_fd|.
void GenerateMinidumpOnDemandForAndroid(int dump_fd);
+
+// Install a handler that gets a change to handle faults before Breakpad does
+// any processing. This is used by V8 for trap-based bounds checks.
+void SetFirstChanceExceptionHandler(bool (*handler)(int, void*, void*));
} // namespace breakpad
#endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | components/crash/content/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698