* maybe_suppress_debug_info
@ 2003-04-28 17:50 Devang Patel
0 siblings, 0 replies; only message in thread
From: Devang Patel @ 2003-04-28 17:50 UTC (permalink / raw)
To: gcc
maybe_suppress_debug_info() is used in C++ to suppress debugging
information
generation for C++ classes (as an optimization).
note_debug_info_needed() is
used to enable it again, but all note_debug_info_needed() calls are
inside #if 0 code.
This causes GCC to miss debugging information for virtual C++ classes
(at least in stabs).
Now comments in code is somewhat confusing. It says it is _slightly_
useful for BINCL,
but we are dropping info in this case. Comment also say that it is not
useful with DWARF.
I am thinking of not using maybe_suppress_debug_info() with stabs
format when BINCLs are
used, to get all debugging information for virtual C++ classes.
thoughts ?
Thanks,
-Devang
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-28 13:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-28 17:50 maybe_suppress_debug_info Devang Patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).