diff options
Diffstat (limited to 'include/llvm/Transforms/Instrumentation.h')
-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); |