Re: -femit-struct-debug-reduced/baseonly debug info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 18, 2013 at 7:53 AM, Evgeny Gavrin
<evgeny.gavrin@xxxxxxxxxxx> wrote:
> Quote from the documentations is not clear to me: "Emit debug information for struct-like types only when the base name of the compilation source file matches the base name of file in which the type was defined, unless the struct is a template or defined in a system header. "
>
> As I understood, this'll store info only about static types and I'll loose info about inlining, for example, am I right?

No.  This only affect the debug info for "struct-like types", meaning,
in C++, classes and structs.  It doesn't affect inlining.  You're
right that it will keep info about static types.  And if you are
compiling foo.cc, it will keep info about class foo.

> And to extend the question:
> I don't understand what means direct or indirect accessed structs? Ordinary or generic ones? Where I can read about it?

This is documented with the -femit-struct-debug-detailed option.

Ian





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux