diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-02-14 22:01:57 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-02-14 22:01:57 +0000 |
commit | ae9a84b9be2df23be256e48d7749eaec3a016477 (patch) | |
tree | 5a331cd23f39c3b6630b6a7742b92763adca6041 /lib/CodeGen/DwarfWriter.cpp | |
parent | ee50a1ae27a9d50dc292ef7ae9a902a9bdd1a1b4 (diff) |
Using wrong DW_FORM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index f7bb0923bb..dfa02ec0d4 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -941,7 +941,7 @@ DIE *DWContext::NewBasicType(const Type *Ty, unsigned Size, unsigned Align) { // construct the type DIE. TypeDie = new DIE(DW_TAG_base_type, DW_CHILDREN_no); TypeDie->AddString(DW_AT_name, DW_FORM_string, Name); - TypeDie->AddUInt (DW_AT_byte_size, DW_FORM_data1, Size); + TypeDie->AddUInt (DW_AT_byte_size, 0, Size); TypeDie->AddUInt (DW_AT_encoding, DW_FORM_data1, Encoding); TypeDie->Complete(DW); |