llvm-project/compiler-rt/lib/tsan/rtl
Kuba Mracek 986f03c2ea [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
2018-08-21 22:35:52 +00:00
..
tsan.syms.extra tsan: add new mutex annotations 2017-03-26 15:27:04 +00:00
tsan_clock.cc tsan: optimize sync clock memory consumption 2017-07-14 11:30:06 +00:00
tsan_clock.h tsan: optimize sync clock memory consumption 2017-07-14 11:30:06 +00:00
tsan_debugging.cc [tsan] Add debugging API to retrieve the "external tag" from reports 2018-05-10 21:46:00 +00:00
tsan_defs.h tsan: optimize sync clock memory consumption 2017-07-14 11:30:06 +00:00
tsan_dense_alloc.h tsan: give debug names to dense allocators 2017-07-12 12:34:12 +00:00
tsan_external.cc [tsan] Detect races on modifying accesses in Swift code 2017-05-03 16:51:01 +00:00
tsan_fd.cc [Sanitizers] TSan allocator set errno on failure. 2017-07-24 21:22:59 +00:00
tsan_fd.h
tsan_flags.cc tsan: add new mutex annotations 2017-03-26 15:27:04 +00:00
tsan_flags.h tsan: add new mutex annotations 2017-03-26 15:27:04 +00:00
tsan_flags.inc [tsan] Enable ignore_noninstrumented_modules=1 on Darwin by default 2017-01-24 21:37:50 +00:00
tsan_ignoreset.cc
tsan_ignoreset.h
tsan_interceptors.cc [tsan] Adjust setjmp/longjmp handling on Darwin for macOS Mojave 2018-08-21 22:35:52 +00:00
tsan_interceptors.h Try to fix syntax for !NetBSD in TSAN_INTERCEPTORs 2017-11-20 18:27:39 +00:00
tsan_interceptors_mac.cc [tsan] Fix crash in objc_sync_enter/objc_sync_exit when using an Obj-C tagged pointer 2018-07-24 16:19:06 +00:00
tsan_interface.cc tsan: Introducing a function to flush the shadow memory from third-party libraries 2017-01-07 11:27:33 +00:00
tsan_interface.h [tsan] Add debugging API to retrieve the "external tag" from reports 2018-05-10 21:46:00 +00:00
tsan_interface_ann.cc Move __tsan::Vector to __sanitizer 2017-12-04 12:30:09 +00:00
tsan_interface_ann.h
tsan_interface_atomic.cc tsan: don't create sync objects on acquire-load 2017-07-12 12:28:23 +00:00
tsan_interface_inl.h [tsan] Expose __tsan_ignore_thread_begin and __tsan_ignore_thread_end in TSan interface 2016-11-11 22:43:12 +00:00
tsan_interface_java.cc tsan: add new mutex annotations 2017-03-26 15:27:04 +00:00
tsan_interface_java.h tsan: allow Java VM iterate over allocated objects 2016-12-14 18:20:18 +00:00
tsan_libdispatch_mac.cc Fixup for r340342: Avoid Block_release'ing the block since we're no longer making a copy. 2018-08-21 22:03:28 +00:00
tsan_malloc_mac.cc [Sanitizers] Add more standard compliant posix_memalign implementation for LSan. 2018-03-12 21:59:06 +00:00
tsan_md5.cc
tsan_mman.cc [TSan] Report proper error on allocator failures instead of CHECK(0)-ing 2018-06-18 20:03:31 +00:00
tsan_mman.h [Sanitizers] TSan allocator set errno on failure. 2017-07-24 21:22:59 +00:00
tsan_mutex.cc tsan: fix a crash 2016-05-06 19:35:22 +00:00
tsan_mutex.h tsan: fix a crash 2016-05-06 19:35:22 +00:00
tsan_mutexset.cc
tsan_mutexset.h tsan: always define SANITIZER_GO 2016-10-28 20:14:18 +00:00
tsan_new_delete.cc [TSan] Report proper error on allocator failures instead of CHECK(0)-ing 2018-06-18 20:03:31 +00:00
tsan_platform.h tsan: add support for linux/powerpc64 in buildgo.sh 2018-04-16 11:43:00 +00:00
tsan_platform_linux.cc [sanitizer] Replace InternalScopedBuffer with InternalMmapVector 2018-05-07 05:56:36 +00:00
tsan_platform_mac.cc [tsan] Adjust setjmp/longjmp handling on Darwin for macOS Mojave 2018-08-21 22:35:52 +00:00
tsan_platform_posix.cc sanitizers: consistently check result of MmapFixedNoReserve 2018-07-20 08:33:41 +00:00
tsan_platform_windows.cc [tsan] Implement WriteMemoryProfile for Darwin 2016-10-31 20:17:13 +00:00
tsan_ppc_regs.h [PPC64, TSAN] Provide setjmp interceptor support for PPC64 2015-12-08 22:14:34 +00:00
tsan_preinit.cc Init tsan with .preinit_array section 2016-05-26 17:05:36 +00:00
tsan_report.cc Move __tsan::Vector to __sanitizer 2017-12-04 12:30:09 +00:00
tsan_report.h Move __tsan::Vector to __sanitizer 2017-12-04 12:30:09 +00:00
tsan_rtl.cc sanitizers: consistently check result of MmapFixedNoReserve 2018-07-20 08:33:41 +00:00
tsan_rtl.h [TSan] Report proper error on allocator failures instead of CHECK(0)-ing 2018-06-18 20:03:31 +00:00
tsan_rtl_aarch64.S [tsan] Adjust setjmp/longjmp handling on Darwin for macOS Mojave 2018-08-21 22:35:52 +00:00
tsan_rtl_amd64.S [tsan] Adjust setjmp/longjmp handling on Darwin for macOS Mojave 2018-08-21 22:35:52 +00:00
tsan_rtl_mips64.S [TSan][MIPS] Implements setjmp assembly for MIPS64 2016-08-16 05:06:56 +00:00
tsan_rtl_mutex.cc tsan: fix deficiency in MutexReadOrWriteUnlock 2018-06-22 08:27:52 +00:00
tsan_rtl_ppc64.S Avoid extended mnemonic 'mfvrsave' in assembly code 2015-12-09 15:18:30 +00:00
tsan_rtl_proc.cc tsan: always define SANITIZER_GO 2016-10-28 20:14:18 +00:00
tsan_rtl_report.cc tsan: support inlined frames in external symbolization 2018-03-21 08:44:14 +00:00
tsan_rtl_thread.cc Move __tsan::Vector to __sanitizer 2017-12-04 12:30:09 +00:00
tsan_stack_trace.cc [TSan] Report proper error on allocator failures instead of CHECK(0)-ing 2018-06-18 20:03:31 +00:00
tsan_stack_trace.h [TSan] Report proper error on allocator failures instead of CHECK(0)-ing 2018-06-18 20:03:31 +00:00
tsan_stat.cc tsan: remove some clock-related stats 2017-07-12 12:54:38 +00:00
tsan_stat.h tsan: remove some clock-related stats 2017-07-12 12:54:38 +00:00
tsan_suppressions.cc [sanitizer] Remove reserving constructor from InternalMmapVector 2018-05-07 05:56:24 +00:00
tsan_suppressions.h
tsan_symbolize.cc tsan: fix darwin build after 328079 2018-03-21 09:26:29 +00:00
tsan_symbolize.h
tsan_sync.cc sanitizers: consistently check result of MmapFixedNoReserve 2018-07-20 08:33:41 +00:00
tsan_sync.h [tsan] Add Mutex annotation flag for constant-initialized __tsan_mutex_linker_init behavior 2017-10-20 12:08:53 +00:00
tsan_trace.h tsan: don't pass bogus PCs to __tsan_symbolize_external 2017-08-25 08:52:28 +00:00
tsan_update_shadow_word_inl.h