diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-09-28 21:09:37 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-09-28 21:09:37 +0000 |
commit | fc1c78e60e9b305386f4c3fc811463f3b24cf6d4 (patch) | |
tree | 1e6eb65851d509851267d003f0bf5bd478ed9dbe /src/processor/stackwalker.h | |
parent | Add static-CRT build configurations. Get rid of the largely redundant README, (diff) | |
download | breakpad-fc1c78e60e9b305386f4c3fc811463f3b24cf6d4.tar.xz |
Handle frame pointer omission (#21), part 3: SourceLineResolver and PDBSourceLineWriter changes. r=bryner.
- PDBSourceLineWriter (dump_syms) outputs stack frame debugging information
- SourceLineResolver reads the new information and puts it into a
new StackFrameInfo structure, which is stored in a ContainedRangeMap.
FillSourceLineInfo passes the StackFrameInfo back to the caller.
- The base Stackwalker makes StackFrameInfo data available to subclasses
during stackwalking, but does not use this information directly itself.
Stackwalkers may access stack_frame_info_ for enhanced stackwalking
(this will be part 4).
- New test data for the updated dumped-symbol format
http://groups.google.com/group/airbag-dev/browse_thread/thread/735f191c9a1a1de4
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@38 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/stackwalker.h')
-rw-r--r-- | src/processor/stackwalker.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/processor/stackwalker.h b/src/processor/stackwalker.h index f9adfa78..e3fb1360 100644 --- a/src/processor/stackwalker.h +++ b/src/processor/stackwalker.h @@ -42,9 +42,11 @@ #ifndef PROCESSOR_STACKWALKER_H__ #define PROCESSOR_STACKWALKER_H__ +#include <vector> #include "google/stack_frame.h" #include "processor/memory_region.h" +#include "processor/stack_frame_info.h" namespace google_airbag { @@ -85,6 +87,11 @@ class Stackwalker { // get information from the stack. MemoryRegion *memory_; + // Additional debugging information for each stack frame. This vector + // parallels the StackFrames vector. Subclasses may use this information + // to walk the stack. + std::vector<StackFrameInfo> stack_frame_info_; + private: // Obtains the context frame, the innermost called procedure in a stack // trace. Returns false on failure. |