OSDN Git Service

I guess I can handle large type sizes.
authorJim Laskey <jlaskey@mac.com>
Wed, 1 Mar 2006 18:13:05 +0000 (18:13 +0000)
committerJim Laskey <jlaskey@mac.com>
Wed, 1 Mar 2006 18:13:05 +0000 (18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26452 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/DwarfWriter.cpp

index 951ac02..da4c755 100644 (file)
@@ -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;