summaryrefslogtreecommitdiff
path: root/lib/lsan/lsan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsan/lsan.cpp')
-rw-r--r--lib/lsan/lsan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsan/lsan.cpp b/lib/lsan/lsan.cpp
index deabf044a..4ce03046f 100644
--- a/lib/lsan/lsan.cpp
+++ b/lib/lsan/lsan.cpp
@@ -89,7 +89,7 @@ static void InitializeFlags() {
static void OnStackUnwind(const SignalContext &sig, const void *,
BufferedStackTrace *stack) {
- stack->Unwind(sig.pc, sig.bp, sig.context,
+ stack->Unwind(StackTrace::GetNextInstructionPc(sig.pc), sig.bp, sig.context,
common_flags()->fast_unwind_on_fatal);
}