[LLVMdev] DW_AT_[MIPS_]linkage_name inconsistency
Paul_Robinson at playstation.sony.com
Thu Mar 5 15:34:43 PST 2015
We're inconsistent about using DW_AT_MIPS_linkage_name versus
Variables (see DwarfCompileUnit::getOrCreateGlobalVariableDIE())
get the standard attribute for DWARF >= 4, MIPS for older.
Subprograms (see DwarfUnit::applySubprogramDefinitionAttributes())
always get DW_AT_MIPS_linkage_name (no version check).
Before I go drudging through however many tests will die if I add
a version check... we DO want to fix this, right?
P.S. PS4 doesn't want linkage names at all, which will probably
be even more painful test-wise, but it seemed like cleaning up
this bit should come first regardless.
More information about the llvm-dev