[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.2
authorJulian Lettner <jlettner@apple.com>
Mon, 1 Jul 2019 17:39:39 +0000 (17:39 +0000)
committerJulian Lettner <jlettner@apple.com>
Mon, 1 Jul 2019 17:39:39 +0000 (17:39 +0000)
commite9345866809305ac52f7368338017461fef20882
treeda4e0548fe27dc4318a1eb02328235b367002d42
parent40d1faf38f93253a5987b29056b00239b12b800b
[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.2

Switch `LongJmp` over to lookup JmpBuf via plain old (unmangled) SP.
This makes the computation of mangled SPs in the TSan assembly files
unnecessary, which will be cleaned up in follow-up revisions.

Reviewed By: dvyukov

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

llvm-svn: 364818
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
compiler-rt/lib/tsan/rtl/tsan_rtl.h