mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-07 12:30:44 +00:00
Partial enabling of functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a34544d96c
commit
8a8e9756c8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user