This is the mail archive of the gcc-patches@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: [patch] better dwarf2 debug info for inlined functions


On Thu, 2005-07-07 at 12:25 -0700, Mike Stump wrote:
> On Jul 7, 2005, at 6:55 AM, Daniel Berlin wrote:
> > You compile with debug info and optimization, and are going to say the
> > debug info is too big?
> 
> I'll say it.  Our competition produces debug information around 16x  
> smaller.  When one blows out the vm space of the linker, I mean  
> address bits, not swap, things are kinda evil.
> 
> We see three technologies to fix this problem:
> 
>      1   Repository
I suggested this years ago and was told to go away becuase it wasn't a
workable solution.
:)

>      2   Compression
Eliminating duplicates or what?

It's very trivial to write something that eliminates the duplicates
using libdwarf, it's just hard to do it in our linker.

>      3   Elimination of stuff the user doesn't need


Peronsally, i always liked #1 because you never need to eliminate the
duplicate info in the first place, but whatever.



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