summaryrefslogtreecommitdiff
path: root/include
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
commit32647ca140e0a654e6e9fdc98660493bee07f2ac (patch)
treef916e811f3250ec0609b6444097360e29c821a8e /include
parent6104a4e4cc614f5ddbde0e79c156801e21b8d0df (diff)
downloadllvm-32647ca140e0a654e6e9fdc98660493bee07f2ac.tar.gz
llvm-32647ca140e0a654e6e9fdc98660493bee07f2ac.tar.bz2
llvm-32647ca140e0a654e6e9fdc98660493bee07f2ac.tar.xz
Unbreak Mac build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Instrumentation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index a7e6cc5867..9befe588e3 100644
--- a/include/llvm/Transforms/Instrumentation.h
+++ b/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;