aboutsummaryrefslogtreecommitdiff
path: root/src/processor
diff options
context:
space:
mode:
authorWill Harris <wfh@chromium.org>2016-07-19 14:41:53 -0700
committerWill Harris <wfh@chromium.org>2016-07-19 14:41:53 -0700
commitc99d374dde62654a024840accfb357b2851daea0 (patch)
treedf31f2b3d665480c96b65a0d282ef125e7a0b951 /src/processor
parentAdd process type to MicroDumpExtraInfo (diff)
downloadbreakpad-c99d374dde62654a024840accfb357b2851daea0.tar.xz
Add new exception code for OOM generated from Chromium.
See also https://codereview.chromium.org/2130293003/ for Chromium-side change and go/internal_cl_for_2130293003 for internal change. BUG=chromium:614440 R=mark@chromium.org Review URL: https://codereview.chromium.org/2160373002 .
Diffstat (limited to 'src/processor')
-rw-r--r--src/processor/minidump_processor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/processor/minidump_processor.cc b/src/processor/minidump_processor.cc
index 3ff19518..33b4a128 100644
--- a/src/processor/minidump_processor.cc
+++ b/src/processor/minidump_processor.cc
@@ -1186,6 +1186,9 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
case MD_EXCEPTION_CODE_WIN_HEAP_CORRUPTION:
reason = "EXCEPTION_HEAP_CORRUPTION";
break;
+ case MD_EXCEPTION_OUT_OF_MEMORY:
+ reason = "Out of Memory";
+ break;
case MD_EXCEPTION_CODE_WIN_UNHANDLED_CPP_EXCEPTION:
reason = "Unhandled C++ Exception";
break;