<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-gcov not works well in windows"
href="https://bugs.llvm.org/show_bug.cgi?id=33267">33267</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-gcov not works well in windows
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>clouds.flowing@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>I'd like to file a new issue that option "-p" (PreservePaths) of "llvm-cov
gcov" does not works well on windows.
(codes here
<a href="https://github.com/llvm-mirror/llvm/blob/master/lib/IR/GCOV.cpp#L525">https://github.com/llvm-mirror/llvm/blob/master/lib/IR/GCOV.cpp#L525</a>)
Since windows usually use "\\" as path delimiter like
"C:\\Documents\\main.cpp".
Environment:
Windows: 10 pro
clang+llvm: 3.8.275480
llvm-cov (from msys2)
msys2: 2.7.0(0.306/5/3) x86_64
llvm-cov:
LLVM (<a href="http://llvm.org/">http://llvm.org/</a>):
LLVM version 3.8.0svn
Optimized build.
Built Dec 1 2015 (10:25:18).
Default target: x86_64-pc-msys
Host CPU: ivybridge</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>