This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Fri, Jan 09, 2004 at 11:07:52AM -0800, Devang Patel wrote:Any idea why these are not stored in dwarf-2?
GCC is not emitting debug info for nameless fields. I do not know why. Is it just to save space? Someone has added this check with comments in dwarf2out.c, so it is intentional.
It's explicit padding; we don't emit debug information for implicit padding so why should we for explicit padding?
May be user wants to see it while printing types? I do not have any opinion whether it should emit debug info. for nameless fields or not. But your explanation answers my 'why' question.
Thanks, -- Devang
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |