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?


> X-Original-To: geoffk@foam.wonderslug.com
> Date: Sat, 3 Jan 2004 19:05:42 -0600 (CST)
> From: Chris Lattner <sabre@nondot.org>

> Geoff Keating writes:
> > I think we'll want to be able to do it these ways:
> > - One way where the minimal debugging information is emitted so that
> >   when put together, the whole program has complete debugging
> >   information; and
> > - Another way where complete information is emitted for a single file.
> >
> > I'm not sure why you'd want something between these two extremes.
> 
> Why not always do #2, and have the linker eliminate the duplicate
> information?

Because it makes .o files large, and that makes the linker slow
because it has to process the huge collection of .o files.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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