[PATCH 1/2] Add is_executable to Dwfl_Module.
Jan Kratochvil
jan.kratochvil at redhat.com
Wed Sep 10 07:21:27 UTC 2014
On Tue, 09 Sep 2014 23:55:34 +0200, Roland McGrath wrote:
> > int segment; /* Index of first segment table entry. */
> > bool gc; /* Mark/sweep flag. */
> > + bool is_executable : 1; /* Use Dwfl::executable_for_core? */
>
> If you're going to use a bitfield, then make every other bool in that
> struct a bitfield too. But it's not usually worthwhile. It's
> premature microoptimization that privileges memory over CPU, which
> might not even be the right tradeoff any more.
I really do not mind, up to the maintainer how it all should be.
Jan
More information about the elfutils-devel
mailing list