diff options
| author | Julian Lettner <jlettner@apple.com> | 2019-03-06 19:25:09 +0000 |
|---|---|---|
| committer | Julian Lettner <jlettner@apple.com> | 2019-03-06 19:25:09 +0000 |
| commit | 96ef52ccf09531f8302e3e81e7fa6112d9124f9c (patch) | |
| tree | 1534a7315eb65e9b7d2b6b5fe21a9086841e4cf3 /llvm/test | |
| parent | 318028f00f3fe7d90f61a19ee3d8aee98838736e (diff) | |
| download | bcm5719-llvm-96ef52ccf09531f8302e3e81e7fa6112d9124f9c.tar.gz bcm5719-llvm-96ef52ccf09531f8302e3e81e7fa6112d9124f9c.zip | |
[tsan] Support interception of libdispatch on Linux
This is a new attempt for bringing TSan libdispatch support to Linux.
The main issue with the last patch (https://reviews.llvm.org/D53171) was
that we want to avoid building a separate library.
The updated plan is as follows:
1) Hide libdispatch support behind a flag: true on Darwin, false
elsewhere. If flag is specified, assume that libdispatch header and
-flbocks is available for building. This way we can directly include
the libdispatch header and rely on blocks runtime for our
implementation.
2) Optionally/weakly intercept libdispatch API functions.
This patch accomplishes 1). It compiles (without the flag enabled) on
Linux. Follow-up patches will provide 2) and enabling of tests on Linux.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D58935
llvm-svn: 355538
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions

