aboutsummaryrefslogtreecommitdiff
path: root/src/processor/stackwalker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/stackwalker.h')
-rw-r--r--src/processor/stackwalker.h7
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.