diff options
author | Julian Lettner <julian.lettner@apple.com> | 2020-09-02 11:20:47 -0700 |
---|---|---|
committer | Julian Lettner <julian.lettner@apple.com> | 2020-09-02 11:20:47 -0700 |
commit | 4cefa8614ffe18cf8de0fe86297df81f4385e08f (patch) | |
tree | 9ea7d0a12281079f793e85e3e8b8822b08cb596c /clang/lib/Serialization/ModuleManager.cpp | |
parent | 8d2d0e84857cb1f2d01456eb433b5172d3a0772b (diff) | |
download | llvm-4cefa8614ffe18cf8de0fe86297df81f4385e08f.zip llvm-4cefa8614ffe18cf8de0fe86297df81f4385e08f.tar.gz llvm-4cefa8614ffe18cf8de0fe86297df81f4385e08f.tar.bz2 |
[TSan][libdispatch] Fix compilation error on Linux
The interceptor for the block variants of the API references the
function versions (via `REAL(name##_f)`). On Linux, this accesses the
underlying "real pointer", defined by the interceptor macro. So we need
to declare interceptors in the right order to avoid undefined symbol
compiler error:
```
error: no member named 'real_dispatch_async_and_wait_f' in namespace '__tsan::__interception'
```
rdar://68181542
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions