Partial enabling of functions.

llvm-svn: 26404
This commit is contained in:
Jim Laskey 2006-02-27 20:37:42 +00:00
parent ec185f7843
commit bc7a3832e8
1 changed files with 1 additions and 1 deletions

View File

@ -1208,7 +1208,7 @@ DIE *DwarfWriter::NewSubprogram(SubprogramDesc *SPD) {
// 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);