summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_rtl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/asan/asan_rtl.cc')
-rw-r--r--compiler-rt/lib/asan/asan_rtl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/asan/asan_rtl.cc b/compiler-rt/lib/asan/asan_rtl.cc
index 7fb3b92b0b0..e7dc04754ef 100644
--- a/compiler-rt/lib/asan/asan_rtl.cc
+++ b/compiler-rt/lib/asan/asan_rtl.cc
@@ -250,10 +250,10 @@ void GetPcSpBpAx(void *context,
*sp = ucontext->uc_mcontext->__ss.__rsp;
*ax = ucontext->uc_mcontext->__ss.__rax;
# else
- *pc = ucontext->uc_mcontext->__ss.__eip;
- *bp = ucontext->uc_mcontext->__ss.__ebp;
- *sp = ucontext->uc_mcontext->__ss.__esp;
- *ax = ucontext->uc_mcontext->__ss.__eax;
+ *pc = ucontext->uc_mcontext->ss.eip;
+ *bp = ucontext->uc_mcontext->ss.ebp;
+ *sp = ucontext->uc_mcontext->ss.esp;
+ *ax = ucontext->uc_mcontext->ss.eax;
# endif // __WORDSIZE
#else // assume linux
# if defined(__arm__)
OpenPOWER on IntegriCloud