<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vsk@apple.com" title="Vedant Kumar <vsk@apple.com>"> <span class="fn">Vedant Kumar</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - llvm-cov: Wrong coverage with multiple binaries and shared code"
   href="https://bugs.llvm.org/show_bug.cgi?id=35490">bug 35490</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>DUPLICATE
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - llvm-cov: Wrong coverage with multiple binaries and shared code"
   href="https://bugs.llvm.org/show_bug.cgi?id=35490#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - llvm-cov: Wrong coverage with multiple binaries and shared code"
   href="https://bugs.llvm.org/show_bug.cgi?id=35490">bug 35490</a>
              from <span class="vcard"><a class="email" href="mailto:vsk@apple.com" title="Vedant Kumar <vsk@apple.com>"> <span class="fn">Vedant Kumar</span></a>
</span></b>
        <pre>The root cause here is the same as the one in PR35459. The coverage reader
thinks there is just one canonical record for w(), because it incorrectly
assumes the ODR holds across multiple binaries. It cannot treat multiple
records for w() additively.

The two records for w() (one from 'x' and one from 'y') have the same hash,
which explains why you only see the hash mismatch warning when one of the
definitions are changed.

*** This bug has been marked as a duplicate of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - llvm-cov: Can't combine coverage from multiple binaries"
   href="show_bug.cgi?id=35459">bug 35459</a> ***</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>