<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - make SourceBasedCodeCoverage scale"
   href="https://bugs.llvm.org/show_bug.cgi?id=34533">34533</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>make SourceBasedCodeCoverage scale
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kcc@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@justinbogner.com, llvm-bugs@lists.llvm.org, mascasa@google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>From <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=759795&desc=2#c8">https://bugs.chromium.org/p/chromium/issues/detail?id=759795&desc=2#c8</a>

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 
2**3
 28 __llvm_prf_data 007817a0  00000000030c25d8  00000000030c25d8  02cc15d8 
2**3
 29 __llvm_prf_names 02712f7a  0000000003843d80  0000000003843d80  03442d80 
2**4
 30 __llvm_prf_vnds 00006000  0000000005f56d00  0000000005f56d00  05b55d00 
2**4
 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)?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>