temporary hack to get the build working again, apparently a header
authorChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 17:11:08 +0000 (17:11 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 17:11:08 +0000 (17:11 +0000)
commit was forgotten

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26642 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/DwarfWriter.cpp
lib/CodeGen/MachineDebugInfo.cpp

index 68aeb101d69bef4153acf8c87dac52b04f67e1d1..e18596f2c698b0b40f80a49f217df6b349106022 100644 (file)
@@ -1323,7 +1323,7 @@ DIE *DwarfWriter::NewType(DIE *Context, TypeDesc *TyDesc) {
         unsigned Line = MemberDesc->getLine();
         TypeDesc *MemTy = MemberDesc->getFromType();
         uint64_t Size = MemberDesc->getSize();
-        uint64_t Align = MemberDesc->getAlign();
+        uint64_t Align = 0; //MemberDesc->getAlign();
         uint64_t Offset = MemberDesc->getOffset();
    
         // Construct member die.
index fa755f1923e9f14eb62a81e8357d33bd6151fbdf..2c871c8b47e12a454ab3dfe367e7eb4ab2d20b3a 100644 (file)
@@ -653,7 +653,7 @@ TypeDesc::TypeDesc(unsigned T)
 , Name("")
 , File(NULL)
 , Size(0)
-, Align(0)
+//, Align(0)
 , Offset(0)
 {}
 
@@ -667,7 +667,7 @@ void TypeDesc::ApplyToFields(DIVisitor *Visitor) {
   Visitor->Apply((DebugInfoDesc *&)File);
   Visitor->Apply(Line);
   Visitor->Apply(Size);
-  Visitor->Apply(Align);
+  //Visitor->Apply(Align);
   Visitor->Apply(Offset);
 }
 
@@ -692,7 +692,7 @@ void TypeDesc::dump() {
             << "File(" << File << "), "
             << "Line(" << Line << "), "
             << "Size(" << Size << "), "
-            << "Align(" << Align << "), "
+  //<< "Align(" << Align << "), "
             << "Offset(" << Offset << ")\n";
 }
 #endif