From 288fe0f74da02944e3a9b3fc2a751789482faf0b Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Wed, 1 Mar 2006 18:13:05 +0000 Subject: [PATCH] I guess I can handle large type sizes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26452 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/DwarfWriter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 951ac02c684..da4c75564a5 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -1058,8 +1058,7 @@ DIE *DwarfWriter::NewType(CompileUnit *Unit, TypeDesc *TyDesc) { // Get core information. const std::string &Name = TyDesc->getName(); - // FIXME - handle larger sizes. - unsigned Size = TyDesc->getSize() >> 3; + uint64_t Size = TyDesc->getSize() >> 3; DIE *Ty = NULL;