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 2/2] DWARF: make it possible to emit debug info for declarations only


On 06/20/2017 02:16 PM, Richard Biener wrote:
Nice.  This looks ok.

Great, thank you!

I'm mildy curious about the deecrease of debuginfo size for cc1 -- did
you spot anything obvious there?

Well, the benchmark I exposed was for the whole file size, not just .debug_info section size. Just to be sure, I compared object files for both trunk and my patched tree: outside of Ada units, I only get the following evolution:
gcc/dwarf2out.o: -10168 bytes
gcc/godump.o: +272 bytes
gcc/passes.o: +880 bytes

This diff comes from my changes themselves. I had a quick look at the same for cc1’s .debug_info: there is the expected evolution, too,

I suspect Fortran wants to do sth similar as Ada for imported modules.

Maybe. I have zero Fortran knowledge, so I’ll let a Fortran expert decide, if that is fine for you. :-) In any case, the back-end is ready for that.

--
Pierre-Marie de Rodat


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