Index: runtime/vm/signal_handler_linux.cc |
diff --git a/runtime/vm/signal_handler_linux.cc b/runtime/vm/signal_handler_linux.cc |
index 960b417fc3717b1b2ee1196c8dabb763bf3214e5..2d7b74d16084143bf819a8923858b6fb1e27cf93 100644 |
--- a/runtime/vm/signal_handler_linux.cc |
+++ b/runtime/vm/signal_handler_linux.cc |
@@ -113,7 +113,7 @@ uintptr_t SignalHandler::GetLinkRegister(const mcontext_t& mcontext) { |
#elif defined(TARGET_ARCH_ARM) |
lr = static_cast<uintptr_t>(mcontext.arm_lr); |
#elif defined(TARGET_ARCH_ARM64) |
- lr = static_cast<uintptr_t>(mcontext.lr); |
+ lr = static_cast<uintptr_t>(mcontext.regs[30]); |
#elif defined(TARGET_ARCH_MIPS) |
lr = static_cast<uintptr_t>(mcontext.gregs[31]); |
#else |