mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 20:06:05 +00:00

In certain cases, the SDK headers declare `OSSpinLock*` APIs as macros (instead of functions), so users can be transparently forwarded to non-deprecated APIs. When enabled, building of TSan interceptors failed because these macros interfere with the interceptor machinery, i.e., they prevent proper forward declaration of intercepted APIs. In a previous change [1], we misattributed this to the deprecation of `OSSpinLock*` APIs. [1] ae484c21c05668f84b13304c28bc39f753e493de rdar://143193907
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. ================================