[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp

Jim Laskey jlaskey at apple.com
Wed Mar 1 10:13:18 PST 2006



Changes in directory llvm/lib/CodeGen:

DwarfWriter.cpp updated: 1.36 -> 1.37
---
Log message:

I guess I can handle large type sizes.


---
Diffs of the changes:  (+1 -2)

 DwarfWriter.cpp |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.36 llvm/lib/CodeGen/DwarfWriter.cpp:1.37
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.36	Wed Mar  1 11:53:02 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp	Wed Mar  1 12:13:05 2006
@@ -1058,8 +1058,7 @@
 
   // 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;
   






More information about the llvm-commits mailing list