<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - Clang's coverage files not readable by gcov"
href="http://llvm.org/bugs/show_bug.cgi?id=15954">15954</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang's coverage files not readable by gcov
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>normal
</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>magnus.reftel@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10490" name="attach_10490" title="hello world and its .gc* files which make gcov segfault">attachment 10490</a> <a href="attachment.cgi?id=10490&action=edit" title="hello world and its .gc* files which make gcov segfault">[details]</a></span>
hello world and its .gc* files which make gcov segfault
If I compile a hello world program with clang --coverage (manually specifying
libclang_rt.profile-x86_64.a; see <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Clang links the wrong compiler-rt when building with --coverage"
href="show_bug.cgi?id=15953">bug 15953</a>) and then run the program, .gcno
and .gcda files are produced as expected. However, when I run "gcov hello.c",
it fails to read the files (and even segfaults - issue reported as GCC bug
57234). I'm attaching a .tar.gz with hello.c and the .gcno and .gcda files
produced by clang r181582.</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>