[llvm] r187937 - Unbreak Mac build.
Peter Collingbourne
peter at pcc.me.uk
Wed Aug 7 16:29:46 PDT 2013
Author: pcc
Date: Wed Aug 7 18:29:46 2013
New Revision: 187937
URL: http://llvm.org/viewvc/llvm-project?rev=187937&view=rev
Log:
Unbreak Mac build.
Modified:
llvm/trunk/include/llvm/Transforms/Instrumentation.h
Modified: llvm/trunk/include/llvm/Transforms/Instrumentation.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Instrumentation.h?rev=187937&r1=187936&r2=187937&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Instrumentation.h (original)
+++ llvm/trunk/include/llvm/Transforms/Instrumentation.h Wed Aug 7 18:29:46 2013
@@ -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;
More information about the llvm-commits
mailing list