[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.8
authorJulian Lettner <jlettner@apple.com>
Tue, 9 Jul 2019 16:49:43 +0000 (16:49 +0000)
committerJulian Lettner <jlettner@apple.com>
Tue, 9 Jul 2019 16:49:43 +0000 (16:49 +0000)
commit521f77e6351fd921f5a81027c7c72addca378989
tree2e9660b26691274c9d86d2a1078ee8c1c325679c
parentb2d24bd5400dcabced806a11066854bf62349f4f
[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.8

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
compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc
compiler-rt/lib/tsan/rtl/tsan_platform_mac.cc