[PATCH] Option to suppress the DWARF entries DW_AT_MIPS_linkage_name and DW_AT_linkage_name.

Wolfgang Pieb wolfgang_pieb at playstation.sony.com
Fri Sep 26 14:42:00 PDT 2014


I’d like to add a backend option (-suppress-dwarf-linkage-names)  to suppress DW_AT_MIPS_linkage_name and DW_AT_linkage_name entries in DWARF. Measurements of debug info size (specifically, the .debug_str section) have shown that some decent reductions are to be had by not emitting these entries, benefiting  DWARF consumers that do not use them.

Please note that the proposed change does not suppress the emission of linkage names into any accelerator tables.

http://reviews.llvm.org/D5510

Files:
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  test/DebugInfo/suppress-linkage-entry-3.ll
  test/DebugInfo/suppress-linkage-entry-4.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5510.14137.patch
Type: text/x-patch
Size: 9573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140926/dff32663/attachment.bin>


More information about the llvm-commits mailing list