summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-08-07 23:29:46 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-08-07 23:29:46 +0000
commitf3bd4f6bb30dceccbbad02b33277f40b9727a51c (patch)
tree0a4d720c50c18f559217a778d70fb36077ee8e7e
parent57f783da4e0d9bca6d531ebca330e31b658b4d60 (diff)
downloadbcm5719-llvm-f3bd4f6bb30dceccbbad02b33277f40b9727a51c.tar.gz
bcm5719-llvm-f3bd4f6bb30dceccbbad02b33277f40b9727a51c.zip
Unbreak Mac build.
llvm-svn: 187937
-rw-r--r--llvm/include/llvm/Transforms/Instrumentation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Transforms/Instrumentation.h b/llvm/include/llvm/Transforms/Instrumentation.h
index a7e6cc58679..9befe588e3b 100644
--- a/llvm/include/llvm/Transforms/Instrumentation.h
+++ b/llvm/include/llvm/Transforms/Instrumentation.h
@@ -16,7 +16,7 @@
#include "llvm/ADT/StringRef.h"
-#ifdef __GNUC__
+#if defined(__GNUC__) && defined(__linux__)
inline void *getDFSanArgTLSPtrForJIT() {
extern __thread __attribute__((tls_model("initial-exec")))
void *__dfsan_arg_tls;
OpenPOWER on IntegriCloud