Track locations of individual loads in -Rpass remarks (Re: [polly] Add diagnostic remark for ReportVariantBasePtr)

Diego Novillo dnovillo at google.com
Thu Jul 24 13:16:17 PDT 2014


On Mon, Jul 21, 2014 at 9:36 AM, Tobias Grosser <tobias at grosser.es> wrote:

> Diego, you just recently run the -gcolumn-info test cases on your internal
> code base and on the gdb test suite. Would it be difficult for
> you to create similar information for the attached patch to get an idea of
> how much overhead this patch would cause?

A full comparison build is now running. I should have results soon. In the
meantime, I tried it on a target that generates a 30Mb shared object:

Without your patch, I see these segment sizes:

     text      data       bss     debug debug.dwo    symtab    strtab
other     total filename
  8505260    444768    308624  12140854         0   1226952   5631742
1632669  29588116 file.so


With your patch:
     text      data       bss     debug debug.dwo    symtab    strtab
other     total filename
  8505260    444768    308624  12565490         0   1226952   5631742
1632669  30012748 file.so

That's a 3.5% growth in debug info size, for a total size increase of ~1%.

I'll send numbers over a full build as soon as I get them.


Diego.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140724/42bff89d/attachment.html>


More information about the llvm-commits mailing list