llvm-project/compiler-rt/lib/tsan/rtl
Daniel Kiss ad40453fc4 [AArch64][compiler-rt] Strip PAC from the link register.
-mbranch-protection protects the LR on the stack with PAC.
When the frames are walked the LR need to be cleared.
This inline assembly later will be replaced with a new builtin.

Test: build with  -DCMAKE_C_FLAGS="-mbranch-protection=standard".

Reviewed By: kubamracek

Differential Revision: https://reviews.llvm.org/D98008
2021-03-15 10:25:59 +01:00
..
tsan.syms.extra [compiler-rt][tsan] Make fiber support in thread sanitizer dynamic linkable 2020-03-11 14:14:33 +01:00
tsan_clock.cpp tsan: fix false positives in AcquireGlobal 2020-05-27 16:27:47 +02:00
tsan_clock.h tsan: fix false positives in AcquireGlobal 2020-05-27 16:27:47 +02:00
tsan_debugging.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_defs.h
tsan_dense_alloc.h
tsan_dispatch_defs.h [TSan][libdispatch] Ensure TSan dylib works on old systems 2020-08-18 18:34:14 -07:00
tsan_external.cpp [AArch64][compiler-rt] Strip PAC from the link register. 2021-03-15 10:25:59 +01:00
tsan_fd.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_fd.h
tsan_flags.cpp [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and nullptr checks 2020-09-08 10:12:05 -07:00
tsan_flags.h Improve error message when '=' is missing in {ASAN,...}_OPTIONS. 2019-06-15 01:37:14 +00:00
tsan_flags.inc [TSan] Revert removal of ignore_interceptors_accesses flag 2020-06-08 12:35:43 -07:00
tsan_ignoreset.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_ignoreset.h
tsan_interceptors.h [compiler-rt] Replace INLINE with inline 2020-09-17 16:24:20 +02:00
tsan_interceptors_libdispatch.cpp [TSan][libdispatch] Fix compilation error on Linux 2020-09-02 11:20:47 -07:00
tsan_interceptors_mac.cpp [sanitizer][Darwin] Suppress -Wno-non-virtual-dtor warning 2021-01-05 17:09:18 -08:00
tsan_interceptors_mach_vm.cpp [TSan][Darwin] Handle NULL argument in interceptor 2020-08-24 11:36:02 -07:00
tsan_interceptors_posix.cpp [sanitizers] Fix interception of GLibc regexec 2021-03-08 10:53:55 +00:00
tsan_interface.cpp [AArch64][compiler-rt] Strip PAC from the link register. 2021-03-15 10:25:59 +01:00
tsan_interface.h [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
tsan_interface_ann.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_interface_ann.h
tsan_interface_atomic.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_interface_inl.h [AArch64][compiler-rt] Strip PAC from the link register. 2021-03-15 10:25:59 +01:00
tsan_interface_java.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_interface_java.h Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_malloc_mac.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_md5.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_mman.cpp [sanitizer_common] Create max_allocation_size_mb flag. 2019-10-30 11:26:05 -07:00
tsan_mman.h Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_mutex.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_mutex.h
tsan_mutexset.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_mutexset.h
tsan_new_delete.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_platform.h [sanitizers] Enable runtime vma for mips64 in buildgo.sh 2021-03-09 11:45:55 +01:00
tsan_platform_linux.cpp [sanitizers] Enable runtime vma for mips64 in buildgo.sh 2021-03-09 11:45:55 +01:00
tsan_platform_mac.cpp [tsan] Use large address space mapping on Apple Silicon Macs 2021-03-08 14:09:42 -08:00
tsan_platform_posix.cpp [tsan] Fix aarch64-*-linux after D86377 2021-03-10 22:16:04 -08:00
tsan_platform_windows.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_ppc_regs.h
tsan_preinit.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_report.cpp [sanitizer] Convert PrintModuleMap to DumpProcessMap 2020-10-21 12:46:49 -07:00
tsan_report.h sanitizers: Introduce ThreadType enum 2019-02-07 11:01:22 +00:00
tsan_rtl.cpp tsan: don't leave unmapped hole in non-app memory 2021-02-17 08:37:04 +01:00
tsan_rtl.h [sanitizer] Make destructors protected 2020-11-02 18:00:43 -08:00
tsan_rtl_aarch64.S [TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.6 2019-07-16 20:41:04 +00:00
tsan_rtl_amd64.S Revert "[TSan] Improve handling of stack pointer mangling in {set,long}jmp, pt.4" 2019-07-05 21:03:46 +00:00
tsan_rtl_mips64.S
tsan_rtl_mutex.cpp [sanitizer] Cleanup -Wnon-virtual-dtor warnings 2020-11-02 20:30:50 -08:00
tsan_rtl_ppc64.S
tsan_rtl_proc.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_rtl_report.cpp [sanitizer][NFC] Fix few cpplint warnings 2020-10-13 20:39:37 -07:00
tsan_rtl_thread.cpp tsan: fix leak of ThreadSignalContext memory mapping when destroying fibers 2020-04-11 10:30:31 +02:00
tsan_stack_trace.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_stack_trace.h
tsan_stat.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_stat.h tsan: Adding releaseAcquire() to ThreadClock 2020-03-24 11:27:46 +01:00
tsan_suppressions.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
tsan_suppressions.h
tsan_symbolize.cpp compiler-rt: Rename .cc file in lib/tsan/rtl to .cpp 2019-08-01 14:22:42 +00:00
tsan_symbolize.h
tsan_sync.cpp [tsan] Respect no_huge_pages_for_shadow. 2020-08-13 15:55:23 -04:00
tsan_sync.h
tsan_trace.h
tsan_update_shadow_word_inl.h tsan: Optimize performance of Thread sanitizer memory access functions 2019-02-07 12:43:09 +00:00