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:
6ce2dea
)
Add inline subprogram names to the name lookup table since they may
author
Eric Christopher
<echristo@apple.com>
Sun, 4 Dec 2011 06:02:38 +0000
(06:02 +0000)
committer
Eric Christopher
<echristo@apple.com>
Sun, 4 Dec 2011 06:02:38 +0000
(06:02 +0000)
not get there any other way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145789
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 1a216c0ddc08c17336d6a2219c0ac5011bf8ed9f..a3db96aee1f5c34e8fa82c94f12a3a155e1f1f06 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-442,6
+442,10
@@
DIE *DwarfDebug::constructInlinedScopeDIE(CompileUnit *TheCU,
TheCU->addUInt(ScopeDIE, dwarf::DW_AT_call_file, 0, TheCU->getID());
TheCU->addUInt(ScopeDIE, dwarf::DW_AT_call_line, 0, DL.getLineNumber());
+ // Add name to the name table, we do this here because we're guaranteed
+ // to have concrete versions of our DW_TAG_inlined_subprogram nodes.
+ addSubprogramNames(TheCU, InlinedSP, ScopeDIE);
+
return ScopeDIE;
}