diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-07 23:41:13 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-07 23:41:13 +0000 |
commit | c348ad00e5a0b04df6a7cba83b6e77ab81f28de1 (patch) | |
tree | 8ca485ebf54634d593534dacc00da8453fe6f8a8 /include/llvm/Transforms | |
parent | 32647ca140e0a654e6e9fdc98660493bee07f2ac (diff) | |
download | external_llvm-c348ad00e5a0b04df6a7cba83b6e77ab81f28de1.zip external_llvm-c348ad00e5a0b04df6a7cba83b6e77ab81f28de1.tar.gz external_llvm-c348ad00e5a0b04df6a7cba83b6e77ab81f28de1.tar.bz2 |
Really unbreak Mac build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Instrumentation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index 9befe58..ecc470b 100644 --- a/include/llvm/Transforms/Instrumentation.h +++ b/include/llvm/Transforms/Instrumentation.h @@ -92,7 +92,7 @@ FunctionPass *createThreadSanitizerPass(StringRef BlacklistFile = StringRef()); ModulePass *createDataFlowSanitizerPass(void *(*getArgTLS)() = 0, void *(*getRetValTLS)() = 0); -#ifdef __GNUC__ +#if defined(__GNUC__) && defined(__linux__) inline ModulePass *createDataFlowSanitizerPassForJIT() { return createDataFlowSanitizerPass(getDFSanArgTLSPtrForJIT, getDFSanRetValTLSPtrForJIT); |