mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Print variable's display name in dwarf DIE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58b1ac76d4
commit
053372dc3c
@ -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.getDisplayName();
|
||||
AddString(GVDie, DW_AT_name, DW_FORM_string, Name);
|
||||
const std::string &LinkageName = GV.getLinkageName();
|
||||
if (!LinkageName.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user