[Intel-wired-lan] CONFIG_DEBUG_INFO_SPLIT impacts on faddr2line

Linus Torvalds torvalds at linux-foundation.org
Mon Nov 13 21:57:26 UTC 2017


On Mon, Nov 13, 2017 at 1:41 PM, Andi Kleen <ak at linux.intel.com> wrote:
>
> It seems to be broken for normal programs too

Ok.

I wonder if there is some way to use the split format for the
intermediate files, but then for the very final link bring them all in
and make the end result be a traditional single binary. I'm not
talking the separate "dwp" package that packs multiple dwo files into
one, but to actually link them all in at the one.

Sure, it would lose some of the advantage, but I think a large portion
of the -gsplit-dwarf advantage is about the intermediate state. No?

I tried to google for it, but couldn't find anything. But apparently
elfutils doesn't support dwo files either. It seems mainly the linker
and gdb itself that supports it.

                  Linus


More information about the Intel-wired-lan mailing list