llvm-project/compiler-rt
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
..
cmake [Sanitizer] [Scudo] Add riscv64 support for scudo 2023-03-18 23:37:46 -07:00
docs [lit] Document the 'target=<triple>' feature 2022-12-21 06:10:48 -08:00
include [memprof] Record BuildIDs in the raw profile. 2023-03-14 18:16:38 +00:00
lib [TSAN][Darwin] Forward declare spinlock functions on darwin for TSAN interceptors 2023-03-21 12:16:19 -07:00
test Fix Windows export list. 2023-03-20 19:20:43 -07:00
tools
unittests
utils
www [compiler-rt] Point UndefinedBehaviorSanitizer link to its own page. 2023-03-15 17:05:57 +01:00
.clang-tidy
.gitignore
CMakeLists.txt Revert "Reland "[CMake] Bumps minimum version to 3.20.0."" 2023-03-18 20:32:43 +01:00
CODE_OWNERS.TXT [docs] Update compiler-rt/CODE_OWNERS.TXT 2023-02-24 15:07:09 -08:00
CREDITS.TXT
LICENSE.TXT
README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================