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 Jan 3, 2004, at 8:05 PM, Chris Lattner wrote:


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?

This is of course, the right solution in all but the weirdest cases.
Unfortunately, making BFD do this is well, non-trivial, to say the least.
--Dan



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