projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32647ca
)
Really unbreak Mac build.
author
Peter Collingbourne
<peter@pcc.me.uk>
Wed, 7 Aug 2013 23:41:13 +0000
(23:41 +0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Wed, 7 Aug 2013 23:41:13 +0000
(23:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187938
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Transforms/Instrumentation.h
patch
|
blob
|
history
diff --git
a/include/llvm/Transforms/Instrumentation.h
b/include/llvm/Transforms/Instrumentation.h
index
9befe58
..
ecc470b
100644
(file)
--- 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);
-#if
def __GNUC__
+#if
defined(__GNUC__) && defined(__linux__)
inline ModulePass *createDataFlowSanitizerPassForJIT() {
return createDataFlowSanitizerPass(getDFSanArgTLSPtrForJIT,
getDFSanRetValTLSPtrForJIT);