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

Jim Laskey jlaskey at apple.com
Mon Feb 27 12:37:54 PST 2006



Changes in directory llvm/lib/CodeGen:

DwarfWriter.cpp updated: 1.32 -> 1.33
---
Log message:

Partial enabling of functions.


---
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.32 llvm/lib/CodeGen/DwarfWriter.cpp:1.33
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.32	Mon Feb 27 11:27:12 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp	Mon Feb 27 14:37:42 2006
@@ -1208,7 +1208,7 @@
   // FIXME - faking the type for the time being.
   DIE *Type = NewBasicType(Unit, Type::IntTy); 
                                     
-  DIE *SubprogramDie = new DIE(DW_TAG_variable);
+  DIE *SubprogramDie = new DIE(DW_TAG_subprogram);
   SubprogramDie->AddString     (DW_AT_name,      DW_FORM_string, Name);
   SubprogramDie->AddUInt       (DW_AT_decl_file, 0,              FileID);
   SubprogramDie->AddUInt       (DW_AT_decl_line, 0,              Line);






More information about the llvm-commits mailing list