summaryrefslogtreecommitdiff
path: root/libunwindstack/LocalUnwinder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libunwindstack/LocalUnwinder.cpp')
-rw-r--r--libunwindstack/LocalUnwinder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwindstack/LocalUnwinder.cpp b/libunwindstack/LocalUnwinder.cpp
index 5d8120036..05650fb2e 100644
--- a/libunwindstack/LocalUnwinder.cpp
+++ b/libunwindstack/LocalUnwinder.cpp
@@ -106,7 +106,7 @@ bool LocalUnwinder::Unwind(std::vector<LocalFrameData>* frame_info, size_t max_f
uint64_t step_pc = rel_pc;
uint64_t pc_adjustment;
if (adjust_pc) {
- pc_adjustment = regs->GetPcAdjustment(rel_pc, elf);
+ pc_adjustment = GetPcAdjustment(rel_pc, elf, arch);
} else {
pc_adjustment = 0;
}