* failure with -gdwarf-4
@ 2011-07-01 18:40 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2011-07-01 18:40 UTC (permalink / raw)
To: dwarves-u79uwXL29TY76Z2rM5mHXA
pahole doesn't understand the new DWARF 4 .debug_types section.
I'm using the F15 GCC, but really any recent-enough GCC will do.
I compile this:
struct s
{
int x;
int y : 5;
int z;
};
struct s i;
int main()
{
}
Like so:
gcc -gdwarf-4 -g -o d d.c
Running pahole gives an error:
$ pahole --class_name=s ./d
tag__recode_dwarf_type: couldn't find 0x1d type for 0x51 (variable)!
It would be nice to have support for this feature in dwarves, as
.debug_types can greatly reduce the size of the debuginfo in the final
executable.
Tom
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-01 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01 18:40 failure with -gdwarf-4 Tom Tromey
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.