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: eliminating debug info for symbols/types in unexpanded inlines


>> Offhand, though, I don't see any reason why what you're doing in this
>> patch would interfere in any way with comdat type info. It looks to me
>> like your patch is eliminating debug info that isn't at all needed,
>> while mine is only eliminating duplicate info. It certainly looks
>> worthwhile to me.
>
> The stabs duplicate header file elimination stuff works best if you
> always gets the same (full) debug info for headers. ?If you get
> different debug info each time you include a header file, it won't work.

Yes, I've looked into doing this with DWARF before, but also concluded
that it's too painful to generate the full debug info for headers
every time -- the savings you get in the executable doesn't make up
for the cost of all that extra info in the .o files. That's exactly
why I went at the problem on a per-type basis.

-cary


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