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

David Blaikie dblaikie at gmail.com
Fri Sep 26 14:51:24 PDT 2014


On Fri, Sep 26, 2014 at 2:42 PM, Wolfgang Pieb <
wolfgang_pieb at playstation.sony.com> wrote:

> 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.
>

Doing this in the frontend would save you metadata size too.


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

But I guess you still want the accelerator table entries so you need the
name, then?


>
> 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
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140926/b58ead7a/attachment.html>


More information about the llvm-commits mailing list