-femit-struct-debug-reduced/baseonly debug info
Ian Lance Taylor
iant@google.com
Wed Jun 19 15:51:00 GMT 2013
On Wed, Jun 19, 2013 at 8:38 AM, Evgeny Gavrin
<evgeny.gavrin@hotmail.com> wrote:
>
> So, as I understand, when compiling like "gcc-4.7 test.c -O0 -g2 -femit-struct-debug-detailed=ind:ord:base" info about structs declared in test-nonbase.h shouldn't be emitted.
Because you used "ind", the compiler generates debug info for
essentially every struct that is explicitly named in your source code.
Ian
More information about the Gcc-help
mailing list