[PATCH] D68620: DebugInfo: Use base address selection entries for debug_loc

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 12:26:32 PDT 2020


dblaikie added a comment.

In D68620#1995134 <https://reviews.llvm.org/D68620#1995134>, @nickdesaulniers wrote:

> In D68620#1729184 <https://reviews.llvm.org/D68620#1729184>, @rupprecht wrote:
>
> > It looks like this caused a very large increase in binary size (627M->686M). Is that expected/has anyone else observed this?
>
>
> Yes; we're observing a 2.8% increase for non-LTO, 8.3% increase for LTO in Linux kernel image size when CONFIG_DEBUG_INFO is set to emit debug sections (DWARF4). b/154242577
>
> Our LTO builds were also slowed down 4.2% by this.
>
> @dblaikie was there any follow up to this?


No, there's not been any follow-up to this, it seems to have stuck fairly well in general. Happen to have a profile comparison for a representative compilation? (& any sense of the error bars on your measurements?)

Is executable size with debug info included a significant constraint for the Linux kernel image? (what's the scenario for that?) - if it is, perhaps linker debug info compression and/or Split DWARF, etc, might be helpful.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68620/new/

https://reviews.llvm.org/D68620





More information about the llvm-commits mailing list