diff options
author | Martin Storsjo <martin@martin.st> | 2019-05-16 06:49:13 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2019-05-16 06:49:13 +0000 |
commit | 44266b9e115ad172b1f6a88d15d4e7579812c0fc (patch) | |
tree | 9306d2af9f6e8c6bc84980971d635234005e16f3 /llvm/lib/Object/Object.cpp | |
parent | ec895f11cee1e261289cb5320e366d39b9cf806d (diff) | |
download | llvm-44266b9e115ad172b1f6a88d15d4e7579812c0fc.zip llvm-44266b9e115ad172b1f6a88d15d4e7579812c0fc.tar.gz llvm-44266b9e115ad172b1f6a88d15d4e7579812c0fc.tar.bz2 |
[PPC64][libunwind] Fix r2 not properly restored
This change makes each unwind step inspect the instruction at the
return address and, if needed, read r2 from its saved location and
modify the context appropriately.
The unwind logic is able to handle both ELFv1 and ELFv2 stacks.
Reported by Bug 41050
Patch by Leandro Lupori!
Differential Revision: https://reviews.llvm.org/D59694
llvm-svn: 360861
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions