diff options
author | Kuba Mracek <mracek@apple.com> | 2018-08-21 22:35:52 +0000 |
---|---|---|
committer | Kuba Mracek <mracek@apple.com> | 2018-08-21 22:35:52 +0000 |
commit | 986f03c2eab5a7389a7bd77849384290b0dec330 (patch) | |
tree | 3b62a51af0b799c8339ac65c72fa3518ff4a196e /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 14a577bfd1df04c7f53bd64d143a801582efda61 (diff) | |
download | llvm-986f03c2eab5a7389a7bd77849384290b0dec330.zip llvm-986f03c2eab5a7389a7bd77849384290b0dec330.tar.gz llvm-986f03c2eab5a7389a7bd77849384290b0dec330.tar.bz2 |
[tsan] Adjust setjmp/longjmp handling on Darwin for macOS Mojave
On macOS Mojave, the OS started using the XOR-by-a-secret-key scheme (same as glibc is alread doing) for storing the SP value in setjmp environment. We need to adjust for that to keep supporting setjmp/longjmp on latest Darwin. The patch is basically doing the same what we're already doing for glibc.
rdar://problem/43542596
Differential Revision: https://reviews.llvm.org/D51064
llvm-svn: 340350
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions