Index: chrome_elf/crashpad_helper.cc |
diff --git a/chrome_elf/crashpad_helper.cc b/chrome_elf/crashpad_helper.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..125a9a5b93ad34ed2139d4db3faaf67e11b84e21 |
--- /dev/null |
+++ b/chrome_elf/crashpad_helper.cc |
@@ -0,0 +1,12 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome_elf/crashpad_helper.h" |
+#include "third_party/crashpad/crashpad/client/crashpad_client.h" |
+ |
+int GenerateCrashDump(EXCEPTION_POINTERS* exception_pointers) { |
+ crashpad::CrashpadClient::DumpWithoutCrash( |
scottmg
2016/06/22 19:38:07
This is going to generate two crash dumps now, rig
robertshield
2016/06/22 19:47:45
Sometimes, yes. In practice quite often this is hi
|
+ *(exception_pointers->ContextRecord)); |
+ return EXCEPTION_CONTINUE_SEARCH; |
+} |