[llvm-bugs] [Bug 34533] New: make SourceBasedCodeCoverage scale

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 8 16:02:39 PDT 2017


            Bug ID: 34533
           Summary: make SourceBasedCodeCoverage scale
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kcc at google.com
                CC: llvm-bugs at justinbogner.com, llvm-bugs at lists.llvm.org,
                    mascasa at google.com

>From https://bugs.chromium.org/p/chromium/issues/detail?id=759795&desc=2#c8

The binary size for Chromium's pdfium_unittest is 19M vs 266M (yikes!)
The Chromium itself doesn't seem to build -- the linker OOMs on a machine with
64Gb RAM. 

For pdfium_unittest: 
Looking at the sections added by the coverage instrumentation: 
 27 __llvm_prf_cnts 002e4680  0000000002dddf58  0000000002dddf58  029dcf58 
 28 __llvm_prf_data 007817a0  00000000030c25d8  00000000030c25d8  02cc15d8 
 29 __llvm_prf_names 02712f7a  0000000003843d80  0000000003843d80  03442d80 
 30 __llvm_prf_vnds 00006000  0000000005f56d00  0000000005f56d00  05b55d00 
 33 __llvm_covmap 07d77f78  0000000000000000  0000000000000000  05b5bd40  2**3

The biggest is __llvm_covmap taking 0x07d77f78 bytes (130Mb)
If I compress it, I get this: 

33M     COMPRESSED/bzip2/__llvm_covmap.bz2
52M     COMPRESSED/gzip/__llvm_covmap.gz
21M     COMPRESSED/xz/__llvm_covmap.xz

So, we have some potential here. 

The second largest section is __llvm_prf_names 02712f7a (40Mb)
It doesn't compress (compressed already)?

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170908/eed43090/attachment.html>

More information about the llvm-bugs mailing list