[PATCH] Fully disable DWARF accelerator tables

Eric Christopher echristo at gmail.com
Thu Jan 30 14:11:14 PST 2014


Why not just check in the functions rather than at all the callsites?

if (!DD->...) return;

-eric

On Thu, Jan 30, 2014 at 1:55 PM, Robinson, Paul
<Paul_Robinson at playstation.sony.com> wrote:
> The DWARF accelerator tables are or are not supported/emitted depending on
> the target.  However the work to collect the info to put into the
> accelerator tables is always done regardless of target.  The attached patch
> keeps that extra work (and memory consumption) from happening.
>
> No functional change really, and therefore no test, because the same
> (mangled) names appear in .debug_str because of DW_AT_linkage_name.  I found
> this because we have a local patch to suppress DW_AT_linkage_name but the
> mangled names were still showing up in .debug_str.
>
> Thanks,
>
> --paulr
>
>
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list