aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ASTWriterDecl.cpp
diff options
context:
space:
mode:
authorJulian Lettner <yln@users.noreply.github.com>2025-01-27 15:48:29 -0800
committerGitHub <noreply@github.com>2025-01-27 15:48:29 -0800
commita34159f85ee01c197cc9d938bd1fc40c4c7dba51 (patch)
treeb6616b2eae6247b1dc5a8a84d7bca9cd2c793d01 /clang/lib/Serialization/ASTWriterDecl.cpp
parent934532d8b18adbe3c1d671d2287abd23885b7eaa (diff)
downloadllvm-a34159f85ee01c197cc9d938bd1fc40c4c7dba51.zip
llvm-a34159f85ee01c197cc9d938bd1fc40c4c7dba51.tar.gz
llvm-a34159f85ee01c197cc9d938bd1fc40c4c7dba51.tar.bz2
[TSan][Apple] Fix interceptor build error (#124351)
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
Diffstat (limited to 'clang/lib/Serialization/ASTWriterDecl.cpp')
0 files changed, 0 insertions, 0 deletions