[LLVMbugs] [Bug 2895] New: Include paths seem to be wrong in some files in lib/target/ x86/ASMPrinter

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Oct 14 22:20:44 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2895

           Summary: Include paths seem to be wrong in some files in
                    lib/target/x86/ASMPrinter
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nick at indigorenderer.com
                CC: llvmbugs at cs.uiuc.edu


Include paths seem to be wrong in some files in lib/target/x86/ASMPrinter
Built with visual studio 2008 on Vista 64 bit.
Should be fixed by this patch:


Index: Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
===================================================================
--- Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp  (revision 57552)
+++ Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp  (working copy)
@@ -15,11 +15,11 @@

 #define DEBUG_TYPE "asm-printer"
 #include "X86ATTAsmPrinter.h"
-#include "X86.h"
-#include "X86COFF.h"
-#include "X86MachineFunctionInfo.h"
-#include "X86TargetMachine.h"
-#include "X86TargetAsmInfo.h"
+#include "../X86.h"
+#include "../X86COFF.h"
+#include "../X86MachineFunctionInfo.h"
+#include "../X86TargetMachine.h"
+#include "../X86TargetAsmInfo.h"
 #include "llvm/CallingConv.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/Module.h"
Index: Target/X86/AsmPrinter/X86IntelAsmPrinter.cpp
===================================================================
--- Target/X86/AsmPrinter/X86IntelAsmPrinter.cpp        (revision 57552)
+++ Target/X86/AsmPrinter/X86IntelAsmPrinter.cpp        (working copy)
@@ -15,9 +15,9 @@

 #define DEBUG_TYPE "asm-printer"
 #include "X86IntelAsmPrinter.h"
-#include "X86InstrInfo.h"
-#include "X86TargetAsmInfo.h"
-#include "X86.h"
+#include "../X86InstrInfo.h"
+#include "../X86TargetAsmInfo.h"
+#include "../X86.h"
 #include "llvm/CallingConv.h"
 #include "llvm/Constants.h"
 #include "llvm/DerivedTypes.h"
Index: Target/X86/AsmPrinter/X86AsmPrinter.cpp
===================================================================
--- Target/X86/AsmPrinter/X86AsmPrinter.cpp     (revision 57552)
+++ Target/X86/AsmPrinter/X86AsmPrinter.cpp     (working copy)
@@ -16,7 +16,7 @@

 #include "X86ATTAsmPrinter.h"
 #include "X86IntelAsmPrinter.h"
-#include "X86Subtarget.h"
+#include "../X86Subtarget.h"
 using namespace llvm;

 /// createX86CodePrinterPass - Returns a pass that prints the X86 assembly
code


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list