<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 - llvm-cov gcov on Windows fails with "function identifiers do not match" with simple test case using templates"
href="https://bugs.llvm.org/show_bug.cgi?id=34922">34922</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-cov gcov on Windows fails with "function identifiers do not match" with simple test case using templates
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>mcastelluccio@mozilla.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=19265" name="attach_19265" title="main.cpp">attachment 19265</a> <a href="attachment.cgi?id=19265&action=edit" title="main.cpp">[details]</a></span>
main.cpp
llvm-cov is failing with:
"Function identifiers do not match: 10 != 2573 (in
??1?$Ciao@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@@QAE@XZ).
Invalid .gcda File!"
on the attached test case.
Simply run:
clang-cl --coverage -Od main.cpp
./main
llvm-cov gcov main.gcda</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>