aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-02-27 20:37:42 +0000
committerJim Laskey <jlaskey@mac.com>2006-02-27 20:37:42 +0000
commit8a8e9756c83f269c1223039b9fd5552ac6cfe7b3 (patch)
tree33fe532b256dad449b68f9e4152a4c84c5d53060 /lib/CodeGen/DwarfWriter.cpp
parenta34544d96c2e84fa84827e92e193f79353c64df0 (diff)
Partial enabling of functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index 0b5cade307..3f28832399 100644
--- 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);