summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
diff options
context:
space:
mode:
authorJulian Lettner <jlettner@apple.com>2019-03-07 18:15:29 +0000
committerJulian Lettner <jlettner@apple.com>2019-03-07 18:15:29 +0000
commit011a90b96aa9218fd68b3c031145d018acae5d70 (patch)
tree6d227f61d580785d8513369879686f673b93c366 /clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp
parent9ee68ffffd0223dd597174abdd76e74455397578 (diff)
downloadbcm5719-llvm-011a90b96aa9218fd68b3c031145d018acae5d70.tar.gz
bcm5719-llvm-011a90b96aa9218fd68b3c031145d018acae5d70.zip
[TSan][Linux] Fix libdispatch interception macros compilation errors
Most libdispatch functions come in two variants: callbacks can be specified via blocks or function pointers. Some of our interceptors for the block variant actually forward to the function variant. However, on Linux, `DECLARE_REAL(name)` has to appear before `REAL(name)`. This patch reorders _f variant interceptors before _b variants where possible and forward declares the _f variant in the remaining cases (cyclic dependency between _f and _b interceptors). Also rename macro to DISPATCH_INTERCEPT_ASYNC_F for better consistency. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D59067 llvm-svn: 355619
Diffstat (limited to 'clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud