summaryrefslogtreecommitdiffstats
path: root/libbacktrace/UnwindCurrent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libbacktrace/UnwindCurrent.cpp')
-rwxr-xr-xlibbacktrace/UnwindCurrent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbacktrace/UnwindCurrent.cpp b/libbacktrace/UnwindCurrent.cpp
index b176aaf..372555b 100755
--- a/libbacktrace/UnwindCurrent.cpp
+++ b/libbacktrace/UnwindCurrent.cpp
@@ -137,9 +137,8 @@ bool UnwindCurrent::UnwindFromContext(size_t num_ignore_frames, bool within_hand
if (!within_handler) {
frame->func_name = GetFunctionName(frame->pc, &frame->func_offset);
- frame->map = FindMap(frame->pc);
+ FillInMap(frame->pc, &frame->map);
} else {
- frame->map = NULL;
frame->func_offset = 0;
}
num_frames++;