[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp
Jim Laskey
jlaskey at apple.com
Tue Feb 14 14:02:09 PST 2006
Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.25 -> 1.26
---
Log message:
Using wrong DW_FORM.
---
Diffs of the changes: (+1 -1)
DwarfWriter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.25 llvm/lib/CodeGen/DwarfWriter.cpp:1.26
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.25 Mon Feb 6 09:33:21 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp Tue Feb 14 16:01:57 2006
@@ -941,7 +941,7 @@
// 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);
More information about the llvm-commits
mailing list