aboutsummaryrefslogtreecommitdiff
path: root/src/processor/stackwalker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/stackwalker.cc')
-rw-r--r--src/processor/stackwalker.cc19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/processor/stackwalker.cc b/src/processor/stackwalker.cc
index b40ed0c6..ed3da7cf 100644
--- a/src/processor/stackwalker.cc
+++ b/src/processor/stackwalker.cc
@@ -47,7 +47,6 @@
#include "processor/linked_ptr.h"
#include "processor/logging.h"
#include "processor/scoped_ptr.h"
-#include "processor/windows_frame_info.h"
#include "processor/stackwalker_ppc.h"
#include "processor/stackwalker_sparc.h"
#include "processor/stackwalker_x86.h"
@@ -65,8 +64,8 @@ Stackwalker::Stackwalker(const SystemInfo *system_info,
: system_info_(system_info),
memory_(memory),
modules_(modules),
- supplier_(supplier),
- resolver_(resolver) {
+ resolver_(resolver),
+ supplier_(supplier) {
}
@@ -75,11 +74,6 @@ bool Stackwalker::Walk(CallStack *stack) {
assert(stack);
stack->Clear();
- // stack_frame_info parallels the CallStack. The vector is passed to the
- // GetCallerFrame function. It contains information that may be helpful
- // for stackwalking.
- vector< linked_ptr<WindowsFrameInfo> > stack_frame_info;
-
// Begin with the context frame, and keep getting callers until there are
// no more.
@@ -91,8 +85,6 @@ bool Stackwalker::Walk(CallStack *stack) {
// frame_pointer fields. The frame structure comes from either the
// context frame (above) or a caller frame (below).
- linked_ptr<WindowsFrameInfo> frame_info;
-
// Resolve the module information, if a module map was provided.
if (modules_) {
const CodeModule *module =
@@ -119,7 +111,6 @@ bool Stackwalker::Walk(CallStack *stack) {
}
}
resolver_->FillSourceLineInfo(frame.get());
- frame_info.reset(resolver_->FindWindowsFrameInfo(frame.get()));
}
}
@@ -127,12 +118,8 @@ bool Stackwalker::Walk(CallStack *stack) {
// over the frame, because the stack now owns it.
stack->frames_.push_back(frame.release());
- // Add the frame info to the parallel stack.
- stack_frame_info.push_back(frame_info);
- frame_info.reset(NULL);
-
// Get the next frame and take ownership.
- frame.reset(GetCallerFrame(stack, stack_frame_info));
+ frame.reset(GetCallerFrame(stack));
}
return true;