From 30ab0ebac0bb7587cac9f6328e7060f33a32d69c Mon Sep 17 00:00:00 2001 From: dim <dim@FreeBSD.org> Date: Thu, 17 Nov 2011 21:06:53 +0000 Subject: Revert r227538, since it doesn't compile with clang at all (it doesn't allow the built-in operations to be redefined, at least not without excessive force). Instead, just disable LLVM's support for atomic operations for now. Nothing in either clang or the tablegen tools currently depends on it. This still allows users of head built before r198344 to upgrade to top-of-head seamlessly. --- lib/clang/include/llvm/Config/config.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/clang/include/llvm/Config/config.h') diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 5ecb51c..92c960b 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -552,9 +552,7 @@ /* #undef LLVM_ETCDIR */ /* Has gcc/MSVC atomic intrinsics */ -#ifndef __tune_i386__ -#define LLVM_HAS_ATOMICS 1 -#endif +#define LLVM_HAS_ATOMICS 0 /* Host triple we were built on */ /* #undef LLVM_HOSTTRIPLE */ -- cgit v1.1