summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2015-12-08 22:14:34 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2015-12-08 22:14:34 +0000
commit6b63d576c3baef27ca053dd18625e6e47acd2ae0 (patch)
tree971e63bf265415533c30872c0913fc2a1fad045c /lldb/packages/Python/lldbsuite/test
parent850269a47eed94efc2620dde5fa7473e9d6bab9a (diff)
downloadbcm5719-llvm-6b63d576c3baef27ca053dd18625e6e47acd2ae0.tar.gz
bcm5719-llvm-6b63d576c3baef27ca053dd18625e6e47acd2ae0.zip
[PPC64, TSAN] Provide setjmp interceptor support for PPC64
This patch provides the assembly support for setjmp/longjmp for use with the thread sanitizer. This is a big more complicated than for aarch64, because sibcalls are only legal under our ABIs if the TOC pointer is unchanged. Since the true setjmp function trashes the TOC pointer, and we have to leave the stack in a correct state, we emulate the setjmp function rather than branching to it. We also need to materialize the TOC for cases where the _setjmp code is called from libc. This is done differently under the ELFv1 and ELFv2 ABIs. llvm-svn: 255059
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud