projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a34544d
)
Partial enabling of functions.
author
Jim Laskey
<jlaskey@mac.com>
Mon, 27 Feb 2006 20:37:42 +0000
(20:37 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Mon, 27 Feb 2006 20:37:42 +0000
(20:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26404
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/DwarfWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/DwarfWriter.cpp
b/lib/CodeGen/DwarfWriter.cpp
index 0b5cade3079703f94d539b4e1e73ed85a18996f6..3f2883239934cf8a420e670a94022e7dbfb0ab37 100644
(file)
--- a/
lib/CodeGen/DwarfWriter.cpp
+++ b/
lib/CodeGen/DwarfWriter.cpp
@@
-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);