From 8bf586f3056df3bbbd40d324a207736e00bb70c8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 9 Mar 2006 17:11:08 +0000 Subject: [PATCH] temporary hack to get the build working again, apparently a header commit was forgotten git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26642 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/DwarfWriter.cpp | 2 +- lib/CodeGen/MachineDebugInfo.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 68aeb101d69..e18596f2c69 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -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. diff --git a/lib/CodeGen/MachineDebugInfo.cpp b/lib/CodeGen/MachineDebugInfo.cpp index fa755f1923e..2c871c8b47e 100644 --- a/lib/CodeGen/MachineDebugInfo.cpp +++ b/lib/CodeGen/MachineDebugInfo.cpp @@ -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 -- 2.34.1