mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-23 08:08:43 +00:00
Revert "Fix incorrect source file name for inlined frames"
This reverts commit54d878abcb.54d878abcbchanged the dump_syms format incompatibly. This must be redone in a multi-step process: the processor must be made to understand the old and new formats simultaneously and the processor service must be rebuilt and run with that update before dump_syms output can change to use the new format. Bug: chromium:1263390 Change-Id: I5b6f8aff8ea2916b2c07ac6a74b569fa27db51b9 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3244775 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
@@ -138,7 +138,7 @@ bool Stackwalker::Walk(
|
||||
// frame_pointer fields. The frame structure comes from either the
|
||||
// context frame (above) or a caller frame (below).
|
||||
|
||||
std::deque<std::unique_ptr<StackFrame>> inlined_frames;
|
||||
vector<std::unique_ptr<StackFrame>> inlined_frames;
|
||||
// Resolve the module information, if a module map was provided.
|
||||
StackFrameSymbolizer::SymbolizerResult symbolizer_result =
|
||||
frame_symbolizer_->FillSourceLineInfo(modules_, unloaded_modules_,
|
||||
@@ -174,10 +174,10 @@ bool Stackwalker::Walk(
|
||||
default:
|
||||
break;
|
||||
}
|
||||
// Add all nested inlined frames belonging to this frame from left to right.
|
||||
// Add all nested inlined frames belonging to this frame in reverse order.
|
||||
while (!inlined_frames.empty()) {
|
||||
stack->frames_.push_back(inlined_frames.front().release());
|
||||
inlined_frames.pop_front();
|
||||
stack->frames_.push_back(inlined_frames.back().release());
|
||||
inlined_frames.pop_back();
|
||||
}
|
||||
// Add the frame to the call stack. Relinquish the ownership claim
|
||||
// over the frame, because the stack now owns it.
|
||||
|
||||
Reference in New Issue
Block a user