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]

Re: When to emit C++ debug info?


On Sat, 3 Jan 2004, Geoff Keating wrote:

> we decide that because 'bar' is alphabetically before 'foo',
> everything to do with 'bar' will already be output in its .o file, so
> we don't have to output any of it here (including the definition of
> 'struct x').  For C++, you would decide that vtable definitions come
> "before" everything else, so debug information gets output with the
> vtable if there is one.

This is precisely the kind of thing that caused the original problem: lack
of debug information being emitted when you just _use_ libraries.  ie, you
don't recompile them, so you only have debug information for part of the
program.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]