<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/111743>111743</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Profiling report with branch coverage for templates is misleading
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
stma247
</td>
</tr>
</table>
<pre>
The export mode of tool "llvm-cov" for format "lcov" does not combine the branch counts of C++ template functions instantiations.
A preceding discussion describes the issue in detail:
https://discourse.llvm.org/t/profiling-report-with-branch-coverage-for-templates-is-misleading/82323
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUks-OpCAQxp8GL8QOltqOBw49O_G8h30BlFJrg2AonNl9-w06M509AKFI_fl-H4aZFo-oRfsq2rfCHGkNUXPaDDRdMQb7V_9aUeKfPcQkt2BRhlmmEJwUAM69b-UU3gWAnEPMazPpfPmM2oAsfUhyCttIHmVaUY7R-GmVUzh84lzvh4BXAa8y4bY7k1DOh58SBc-SPCfjE5nzehPqTajHtT_kHnFCS36Rlng6mCl4aZGnSCPy2YuYD5SUw8mQE_VDXtlrSjuL-iFgEDDk_HBExlvWdAtxETAkAcMew0yO_FJGzAzKD0preSnI0jGaBcs5xPJreC6Jy43YocmjCRheoIb66lpYXdu-7k2BuurgpVWqa-7FqlWLcEelmq62tRoNdNg3Xafqea7uSqmCNChoKqX6qldt097ute3Rmt6-KECllGgUbobct4Li1K6rquqaunBmRMen0QAePy4yAiD7HvVp5XgsLBrliBM_yyRKDvXPLxDyAiEziKeVF4jzF3yDkMTyCaI4otP_U18orcd4m8ImYMj9Po9yj-E3Tpn_OSULGD5lvGv4FwAA__9vEeVH">