Reland "[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.8"
authorJulian Lettner <jlettner@apple.com>
Tue, 9 Jul 2019 21:27:37 +0000 (21:27 +0000)
committerJulian Lettner <jlettner@apple.com>
Tue, 9 Jul 2019 21:27:37 +0000 (21:27 +0000)
commitba9eb48318420802d7e42592f45ad443044a4b90
treee62a5feead29174126304f19938dcaf36efa5e8d
parent90148db02a5ba19f12cc731c210f4cd866456816
Reland "[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.8"

Fix compilation errors related to `SANITIZER_GO` `#ifdef`s.

Refine longjmp key management.  For Linux, re-implement key retrieval in
C (instead of assembly).  Removal of `InitializeGuardPtr` and a final
round of cleanups will be done in the next commit.

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D64092

> llvm-svn: 365513

llvm-svn: 365560
compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc