[PATCH] Module flag to suppress the DWARF entries DW_AT_MIPS_linkage_name and DW_AT_linkage_name.
wolfgang_pieb at playstation.sony.com
Wed Oct 1 18:20:09 PDT 2014
Based on everyone's feedback this is the second attempt at providing a way to suppress the DWARF linkage name attributes.
Instead of implementing a backend option, this change implements a metadata module flag “Dwarf Gen Flags”, which itself is intended as a list of flags controlling Dwarf emission. The only supported element of the list is “suppress-linkage-names” which, when present, causes the DWARF attributes DW_AT_MIPS_linkage_name and DW_AT_link_name to be suppressed.
This implementation works also for LTO, although the presence of the flag in one module suppresses the attributes for the entire link, which is different from the non-LTO behavior (only the attributes in the modules with the flag are suppressed).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7616 bytes
Desc: not available
More information about the llvm-commits