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:
58b1ac7
)
Print variable's display name in dwarf DIE.
author
Devang Patel
<dpatel@apple.com>
Wed, 25 Feb 2009 19:41:35 +0000
(19:41 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 25 Feb 2009 19:41:35 +0000
(19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65468
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 3edb57fce81787ef1e887a34f8809437701f1cfe..cab631524fc3d3f250060c219398c0dea1fc19ff 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@
-1817,7
+1817,7
@@
private:
DIE *CreateGlobalVariableDIE(CompileUnit *DW_Unit, const DIGlobalVariable &GV)
{
DIE *GVDie = new DIE(DW_TAG_variable);
- const std::string &Name = GV.getName();
+ const std::string &Name = GV.get
Display
Name();
AddString(GVDie, DW_AT_name, DW_FORM_string, Name);
const std::string &LinkageName = GV.getLinkageName();
if (!LinkageName.empty())