There are still 4 tests that check for DW_AT_MIPS_linkage_name,
because they specify DWARF 2 or 3 in the module metadata. So, I didn't
create an explicit version-based test for this.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/CodeGen/AsmPrinter/DwarfUnit.cpp | ||
---|---|---|
1288 | Should we pull this out into a utility function somewhere? "addLinkageNameString" ? (it could do the attribute choosing, and the "getRealLinkageName" Call as well, perhaps) |
lib/CodeGen/AsmPrinter/DwarfUnit.cpp | ||
---|---|---|
1288 | Yes. Agreed, it's almost assuredly why it's like this in the first place. |
lib/CodeGen/AsmPrinter/DwarfUnit.cpp | ||
---|---|---|
1288 | Okay. I can add it to DwarfUnit, and it will be usable from DwarfCompileUnit (the other place that adds a linkage name). |
Should we pull this out into a utility function somewhere? "addLinkageNameString" ? (it could do the attribute choosing, and the "getRealLinkageName" Call as well, perhaps)