<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 26, 2014 at 2:42 PM, Wolfgang Pieb <span dir="ltr"><<a href="mailto:wolfgang_pieb@playstation.sony.com" target="_blank">wolfgang_pieb@playstation.sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br></blockquote><div><br></div><div>Doing this in the frontend would save you metadata size too.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please note that the proposed change does not suppress the emission of linkage names into any accelerator tables.<br></blockquote><div><br></div><div>But I guess you still want the accelerator table entries so you need the name, then?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<a href="http://reviews.llvm.org/D5510" target="_blank">http://reviews.llvm.org/D5510</a><br>
<br>
Files:<br>
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp<br>
  test/DebugInfo/suppress-linkage-entry-3.ll<br>
  test/DebugInfo/suppress-linkage-entry-4.ll<br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div></div>