summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/Unwind/libunwind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxxabi/src/Unwind/libunwind.cpp')
-rw-r--r--libcxxabi/src/Unwind/libunwind.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcxxabi/src/Unwind/libunwind.cpp b/libcxxabi/src/Unwind/libunwind.cpp
index 2043ac23ed2..59ff4a70f17 100644
--- a/libcxxabi/src/Unwind/libunwind.cpp
+++ b/libcxxabi/src/Unwind/libunwind.cpp
@@ -174,9 +174,6 @@ _LIBUNWIND_EXPORT int unw_set_reg(unw_cursor_t *cursor, unw_regnum_t regNum,
pint_t orgArgSize = (pint_t)info.gp;
uint64_t orgFuncStart = info.start_ip;
co->setInfoBasedOnIPRegister(false);
- // and adjust REG_SP if there was a DW_CFA_GNU_args_size
- if ((orgFuncStart == info.start_ip) && (orgArgSize != 0))
- co->setReg(UNW_REG_SP, co->getReg(UNW_REG_SP) + orgArgSize);
}
return UNW_ESUCCESS;
}
OpenPOWER on IntegriCloud