Re: [PATCH v2 4/8] objtool: add undwarf debuginfo generation

From: Ingo Molnar
Date: Thu Jun 29 2017 - 10:46:34 EST



* Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> > Plus, shouldn't we use __packed for 'struct undwarf' to minimize the
> > structure's size (to 6 bytes AFAICS?) - or is optimal packing of the main
> > undwarf array already guaranteed on every platform with this layout?
>
> Ah yes, it should definitely be packed (assuming that doesn't affect performance
> negatively).

So if I count that correctly that should shave another ~1MB off a typical ~4MB
table size?

Thanks,

Ingo