From: Peter Collingbourne Date: Wed, 7 Aug 2013 23:29:46 +0000 (+0000) Subject: Unbreak Mac build. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=32647ca140e0a654e6e9fdc98660493bee07f2ac Unbreak Mac build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187937 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index a7e6cc58679..9befe588e3b 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;