llvm-project/compiler-rt/lib
Blue Gaston ae484c21c0 [TSAN][Darwin] Forward declare spinlock functions on darwin for TSAN interceptors
Spinlock symbols are removed from headers in MacOS version 10.12 and greater.
Even though they are deprecated, the symbols remain available on the system.

The TSAN interceptors currently cause a build failure after this version because
of the change in availability of the symbol.

We want to continue intercepting the symbols available on the OS.
So we add forward declarations so that the TSAN interceptors can build.

This is tested with the existing osspinlock_norace test.

Differential Revision: https://reviews.llvm.org/D146537
2023-03-21 12:16:19 -07:00
..
asan asan: fix crash on odd stack size 2023-03-12 11:21:33 +01:00
BlocksRuntime
builtins Revert "Reland "[CMake] Bumps minimum version to 3.20.0."" 2023-03-18 20:32:43 +01:00
cfi
crt Revert "Reland "[CMake] Bumps minimum version to 3.20.0."" 2023-03-18 20:32:43 +01:00
dfsan [dfsan] Fix some build-libc-list.py lint issues 2023-02-10 16:48:34 -08:00
fuzzer Revert "[fuzzer] Use puts() rather than printf() in CopyFileToErr()" 2023-03-17 16:00:56 -07:00
gwp_asan [GWP-ASan][Fuchsia] Use more modern zxtest testing macros 2023-03-01 18:54:05 +00:00
hwasan Reland "[LSAN][HWASAN] Turn on leak sanitizer in HWASAN for Linux" 2023-03-20 15:41:05 +00:00
interception
lsan [lsan] Initialize uptr value with number not boolean 2023-03-07 21:47:39 -08:00
memprof [memprof] Record BuildIDs in the raw profile. 2023-03-14 18:16:38 +00:00
msan [sanitizer] Simplify with GET_CALLER_PC_BP. NFC 2023-02-04 11:30:14 -08:00
orc [ORC-RT] Remove the '__' prefix from the ORC runtime's public API. 2023-02-21 18:37:10 -08:00
profile [NFC][AIX][PGO] Create AIX specific compiler-rt profile file. 2023-03-18 20:22:22 +00:00
safestack
sanitizer_common Disable __sancov_lowest_stack on Windows. 2023-03-20 16:40:06 -07:00
scudo/standalone scudo: Don't define mallinfo2 on Android. 2023-03-17 14:47:41 -07:00
stats
tsan [TSAN][Darwin] Forward declare spinlock functions on darwin for TSAN interceptors 2023-03-21 12:16:19 -07:00
ubsan
ubsan_minimal
xray Move close() to the proper else block 2023-03-01 19:09:11 +05:30
CMakeLists.txt