<div dir="ltr">Hi,<div><br></div><div>I am looking for a way to get unmangled subprogram names from a DWARFContext. The name I want is available in the attribute `DW_AT_name` [1], but as far as I can tell this is only returned as a fallback in `DWARFDebugInfoEntryMinimal::getSubroutineName` when the linkage name is not available [2].</div>
<div><br></div><div>If this is not currently possible, is there any interest in adding such access to the public DebugInfo API? Perhaps with an additional "UnmangledName" option in `DILineInfoSpecifier`.</div><div>
<br></div><div>Thanks,</div><div>Isaiah</div><div><br></div><div>[1]: for example:</div><div><br></div><div><div>0x0001bb00: DW_TAG_subprogram [2] </div><div> DW_AT_MIPS_linkage_name [DW_FORM_strp] ( .debug_str[0x00007934] = "julia_vcat4473")</div>
<div> DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000913] = "vcat")</div></div><div><br></div><div><br></div><div><div>[2] <a href="https://github.com/llvm-mirror/llvm/blob/master/lib/DebugInfo/DWARFDebugInfoEntry.cpp#L279-L286">https://github.com/llvm-mirror/llvm/blob/master/lib/DebugInfo/DWARFDebugInfoEntry.cpp#L279-L286</a><br>
</div></div><div><br></div></div>