mirror of
https://github.com/intel/llvm.git
synced 2026-02-04 11:38:04 +08:00
Print variable's display name in dwarf DIE.
llvm-svn: 65468
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user