diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-07 23:29:46 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-07 23:29:46 +0000 |
| commit | f3bd4f6bb30dceccbbad02b33277f40b9727a51c (patch) | |
| tree | 0a4d720c50c18f559217a778d70fb36077ee8e7e | |
| parent | 57f783da4e0d9bca6d531ebca330e31b658b4d60 (diff) | |
| download | bcm5719-llvm-f3bd4f6bb30dceccbbad02b33277f40b9727a51c.tar.gz bcm5719-llvm-f3bd4f6bb30dceccbbad02b33277f40b9727a51c.zip | |
Unbreak Mac build.
llvm-svn: 187937
| -rw-r--r-- | llvm/include/llvm/Transforms/Instrumentation.h | 2 |
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; |

