diff options
author | bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-09-08 02:35:53 +0000 |
---|---|---|
committer | bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-09-08 02:35:53 +0000 |
commit | d5e66382d10b1570d75e924410d58b47857fe799 (patch) | |
tree | 631ca22ac3409363ae8418c7bc846d9e198bed9f /src/processor/stackwalker_x86.cc | |
parent | Make SourceLineResolver fill a StackFrame rather than using its own struct (#... (diff) | |
download | breakpad-d5e66382d10b1570d75e924410d58b47857fe799.tar.xz |
Add support to the StackWalker for resolving symbols, using a
caller-implemented SymbolSupplier object to get a symbol file.
Add a CrashReportProcessor object which provides a simple API for processing
a CrashReport struct, given a SymbolSupplier and a minidump file.
r=mmentovai (#17))
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@18 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/stackwalker_x86.cc')
-rw-r--r-- | src/processor/stackwalker_x86.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/processor/stackwalker_x86.cc b/src/processor/stackwalker_x86.cc index 4e43c6ff..b7adfaf9 100644 --- a/src/processor/stackwalker_x86.cc +++ b/src/processor/stackwalker_x86.cc @@ -28,8 +28,10 @@ namespace google_airbag { StackwalkerX86::StackwalkerX86(MinidumpContext* context, MemoryRegion* memory, - MinidumpModuleList* modules) - : Stackwalker(memory, modules), + MinidumpModuleList* modules, + SymbolSupplier* supplier, + const CrashReport* report) + : Stackwalker(memory, modules, supplier, report), last_frame_pointer_(0) { if (memory_->GetBase() + memory_->GetSize() - 1 > 0xffffffff) { // The x86 is a 32-bit CPU, the limits of the supplied stack are invalid. |