<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/64831>64831</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Merge `[gcov] Ignore blocks from another file` into release/17.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            coverage
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          MaskRay
      </td>
    </tr>
</table>

<pre>
    /cherry-pick 406e81b79d26dae6838cc69d10a3e22635da09ef

This fixes a `--coverage` bug that get wrong line execution counts. The issue impacted the author of https://reviews.llvm.org/D157110 and my user.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkcFuozwQgJ_GXEZBZgwEDj60ipD-Qy-_-gKDPRhvDY5skzZvv0q66mov9mk03_cN5ezdzqxF9yq6S0VHWWPSb5Q__qd7NUd71wIns3JK99PVmw9oZc9DM59Hi70l7gc1GNOPtpGkGLFXnSU58iLkRciX7_d99RkW_8UZCEQvTycTb5zIseglzIeDslIBxwU-U9wdBL8z8Bebo_i4g4nHXnIN7yuDz_lg8NuVTGELZWX4poa4wFrKNQv1InASOCW-ef7MdQi3rY7JCZwuTXduGgm0W9jucGROdWW1sqMaqWLd9CO2Aw6tqlY99iNJSTRbq5aF7LK0rVIdN3bgth1U5TVKVHJoRkR5RlXbRvbWGiSlrBq7UbSSN_LhB6F64uu-HVRTBZo55Gd7xJ8iiI9LJP0YOc2Hy6KVwefy16MqvgTWb5wcP3KK7tWZeBPdBf5ze0wMc4jmI8OS4ga0x7JygsWHZ26_lwiJA1NmgVNzrr-qIwX9bzvny3rMtYmbwOmx-M93uqb4i00ROD1VssDpafM7AAD__95vuxI">