aboutsummaryrefslogtreecommitdiff
path: root/src/processor/stackwalker.cc
diff options
context:
space:
mode:
authorjimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-01-11 22:31:50 +0000
committerjimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-01-11 22:31:50 +0000
commite9faf5482802cb508401881f15b2712eb2f828f2 (patch)
tree43cf980f2f90d735934b085a57b1fe2532311130 /src/processor/stackwalker.cc
parent5b787b1911c1f853f32cb703dcb881e738b49cd9 (diff)
downloadgoogle-breakpad-e9faf5482802cb508401881f15b2712eb2f828f2.tar.gz
Issue 49013: Breakpad Processor: Use a separate API to retrieve Windows stack debugging info.
At the moment, FillSourceLineInfo returns Windows DIA-based stack walking data. In addition to being ugly, this makes it difficult to provide access to DWARF CFI-based stack walking data in a symmetrical way. This patch changes FillSourceLineInfo to do the single job its name suggests, and adds a second member function to SourceLineResolverInterface to retrieve Windows DIA stack walking information. A sibling member function will provide access to DWARF CFI stack walking data. a=jimblandy, r=mmentovai git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@480 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/stackwalker.cc')
-rw-r--r--src/processor/stackwalker.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/processor/stackwalker.cc b/src/processor/stackwalker.cc
index 63fc1437..b40ed0c6 100644
--- a/src/processor/stackwalker.cc
+++ b/src/processor/stackwalker.cc
@@ -118,7 +118,8 @@ bool Stackwalker::Walk(CallStack *stack) {
return false;
}
}
- frame_info.reset(resolver_->FillSourceLineInfo(frame.get()));
+ resolver_->FillSourceLineInfo(frame.get());
+ frame_info.reset(resolver_->FindWindowsFrameInfo(frame.get()));
}
}