[llvm-commits] [llvm-gcc-4.2] r92238 - /llvm-gcc-4.2/trunk/gcc/llvm-abi.h

Chris Lattner sabre at nondot.org
Mon Dec 28 15:45:29 PST 2009


Author: lattner
Date: Mon Dec 28 17:45:29 2009
New Revision: 92238

URL: http://llvm.org/viewvc/llvm-project?rev=92238&view=rev
Log:
'fix' buildbot breakage by #including Compiler.h back where we 
used to implicitly get it before I pruned #includes.  Not doing
this runs into problems on some builders because we define
ATTRIBUTE_UNUSED and so does GCC.  Our macro isn't wrapped with
#ifndef and theirs is, so we have to get ours first, yay for 
fragility.

Modified:
    llvm-gcc-4.2/trunk/gcc/llvm-abi.h

Modified: llvm-gcc-4.2/trunk/gcc/llvm-abi.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-abi.h?rev=92238&r1=92237&r2=92238&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-abi.h (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-abi.h Mon Dec 28 17:45:29 2009
@@ -37,6 +37,7 @@
 #include "llvm/DerivedTypes.h"
 #include "llvm/LLVMContext.h"
 #include "llvm/Target/TargetData.h"
+#include "llvm/Support/Compiler.h"
 
 namespace llvm {
   class BasicBlock;





More information about the llvm-commits mailing list