aboutsummaryrefslogtreecommitdiff
path: root/src/google_breakpad/processor
diff options
context:
space:
mode:
authorTobias Sargeant <tobiasjs@google.com>2017-08-18 17:29:38 +0100
committerTobias Sargeant <tobiasjs@chromium.org>2017-08-21 10:19:07 +0000
commit2b3be5179e18975b4f12a9ecdf91ea08f3bb9f4b (patch)
tree84b95876299103166d899835410cfd3033b20ab7 /src/google_breakpad/processor
parentFix memory leak in ppc stackwalker (diff)
downloadbreakpad-2b3be5179e18975b4f12a9ecdf91ea08f3bb9f4b.tar.xz
Add crash reason extraction to microdump processor
BUG=754715 Change-Id: I00fe62ed06dbbab4c8f6c416d56e2d444be11571 Reviewed-on: https://chromium-review.googlesource.com/621307 Reviewed-by: Robert Sesek <rsesek@chromium.org>
Diffstat (limited to 'src/google_breakpad/processor')
-rw-r--r--src/google_breakpad/processor/microdump.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/google_breakpad/processor/microdump.h b/src/google_breakpad/processor/microdump.h
index 0e2cb749..b5df132c 100644
--- a/src/google_breakpad/processor/microdump.h
+++ b/src/google_breakpad/processor/microdump.h
@@ -119,11 +119,15 @@ class Microdump {
MicrodumpModules* GetModules() { return modules_.get(); }
SystemInfo* GetSystemInfo() { return system_info_.get(); }
+ string GetCrashReason() { return crash_reason_; }
+ uint64_t GetCrashAddress() { return crash_address_; }
private:
scoped_ptr<MicrodumpContext> context_;
scoped_ptr<MicrodumpMemoryRegion> stack_region_;
scoped_ptr<MicrodumpModules> modules_;
scoped_ptr<SystemInfo> system_info_;
+ string crash_reason_;
+ uint64_t crash_address_;
};
} // namespace google_breakpad