aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-01 18:13:05 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-01 18:13:05 +0000
commit288fe0f74da02944e3a9b3fc2a751789482faf0b (patch)
treee104834f5066c7c7f2dcdf5a17e7d652e629b06b /lib/CodeGen/DwarfWriter.cpp
parentf8913f19ae83927521103b9c84189c8d716e85ad (diff)
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
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index 951ac02c68..da4c75564a 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;