diff options
author | Tobias Sargeant <tobiasjs@google.com> | 2017-08-18 17:29:38 +0100 |
---|---|---|
committer | Tobias Sargeant <tobiasjs@chromium.org> | 2017-08-21 10:19:07 +0000 |
commit | 2b3be5179e18975b4f12a9ecdf91ea08f3bb9f4b (patch) | |
tree | 84b95876299103166d899835410cfd3033b20ab7 /src/google_breakpad/processor | |
parent | Fix memory leak in ppc stackwalker (diff) | |
download | breakpad-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.h | 4 |
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 |