summaryrefslogtreecommitdiffstats
path: root/libunwind/src/UnwindCursor.hpp
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2018-07-17 19:00:51 +0000
committerJoerg Sonnenberger <joerg@bec.de>2018-07-17 19:00:51 +0000
commitd0166a0a9377cb3861210e9d5f2b629d77f1a97e (patch)
tree288a72952d3eb9a37762f9696954ed1b251f6e78 /libunwind/src/UnwindCursor.hpp
parent97ba3b64ddb63b216561b44ea62c0ac8c413feb7 (diff)
downloadbcm5719-llvm-d0166a0a9377cb3861210e9d5f2b629d77f1a97e.tar.gz
bcm5719-llvm-d0166a0a9377cb3861210e9d5f2b629d77f1a97e.zip
The semantics of DW_CFA_GNU_args_size have changed subtile over the
years. Adopt the new convention that it is call-site specific and that it should be applied before moving the IP by personality routines, but not during normal unwinding. Differential Revision: https://reviews.llvm.org/D38680 llvm-svn: 337312
Diffstat (limited to 'libunwind/src/UnwindCursor.hpp')
-rw-r--r--libunwind/src/UnwindCursor.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libunwind/src/UnwindCursor.hpp b/libunwind/src/UnwindCursor.hpp
index 6b99c38a6cc..0be4cd98944 100644
--- a/libunwind/src/UnwindCursor.hpp
+++ b/libunwind/src/UnwindCursor.hpp
@@ -1411,8 +1411,6 @@ int UnwindCursor<A, R>::step() {
this->setInfoBasedOnIPRegister(true);
if (_unwindInfoMissing)
return UNW_STEP_END;
- if (_info.gp)
- setReg(UNW_REG_SP, getReg(UNW_REG_SP) + _info.gp);
}
return result;
OpenPOWER on IntegriCloud