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

Unified Diff: chrome_elf/crash/crash_helper.cc

Issue 2909623002: Change DumpProcessWithoutCrash to use load-time dynamic linking (Closed)
Patch Set: forgot to update def file Created 3 years, 6 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_elf/crash/crash_helper.h ('k') | components/crash/content/app/crashpad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/crash/crash_helper.cc
diff --git a/chrome_elf/crash/crash_helper.cc b/chrome_elf/crash/crash_helper.cc
index c658fa949b7c5040fd74fa02cfea300b290ad8e7..31ed15080abdd3ca3945fe6ce3bec5dbe2708802 100644
--- a/chrome_elf/crash/crash_helper.cc
+++ b/chrome_elf/crash/crash_helper.cc
@@ -103,7 +103,7 @@ void DisableSetUnhandledExceptionFilter() {
SetUnhandledExceptionFilterPatch) != NO_ERROR) {
#ifdef _DEBUG
assert(false);
-#endif //_DEBUG
+#endif // _DEBUG
}
}
@@ -114,6 +114,10 @@ int GenerateCrashDump(EXCEPTION_POINTERS* exception_pointers) {
return EXCEPTION_CONTINUE_SEARCH;
}
+void DumpWithoutCrashing() {
+ crash_reporter::DumpWithoutCrashing();
+}
+
} // namespace elf_crash
//------------------------------------------------------------------------------
« no previous file with comments | « chrome_elf/crash/crash_helper.h ('k') | components/crash/content/app/crashpad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698