Really unbreak Mac build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Peter Collingbourne 2013-08-07 23:41:13 +00:00
parent 32647ca140
commit c348ad00e5

View File

@ -92,7 +92,7 @@ FunctionPass *createThreadSanitizerPass(StringRef BlacklistFile = StringRef());
ModulePass *createDataFlowSanitizerPass(void *(*getArgTLS)() = 0, ModulePass *createDataFlowSanitizerPass(void *(*getArgTLS)() = 0,
void *(*getRetValTLS)() = 0); void *(*getRetValTLS)() = 0);
#ifdef __GNUC__ #if defined(__GNUC__) && defined(__linux__)
inline ModulePass *createDataFlowSanitizerPassForJIT() { inline ModulePass *createDataFlowSanitizerPassForJIT() {
return createDataFlowSanitizerPass(getDFSanArgTLSPtrForJIT, return createDataFlowSanitizerPass(getDFSanArgTLSPtrForJIT,
getDFSanRetValTLSPtrForJIT); getDFSanRetValTLSPtrForJIT);