<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 isn't able to process files on Windows because of too long section names"
href="https://bugs.llvm.org/show_bug.cgi?id=32584">32584</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-cov isn't able to process files on Windows because of too long section names
</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>adamf88@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>File llvm\include\llvm\ProfileData\InstrProfData.inc defines several section
names like:
INSTR_PROF_DATA_SECT_NAME __llvm_prf_data
INSTR_PROF_NAME_SECT_NAME __llvm_prf_names
...
llvm-cov looks for these section names within .exe file.
E.g in function loadBinaryFormat in module LLVMCoverage we are searching for
INSTR_PROF_NAME_SECT_NAME ( getInstrProfNameSectionName function ).
Unfortunately this name can't be found in the exe file, because this section
was truncated to 8 bytes.
objdump displays:
1000 __llvm_p
2000 __llvm_p
On Windows maximum section name length is 8 bytes. More details is here:
( <a href="https://msdn.microsoft.com/en-us/library/ms809762.aspx">https://msdn.microsoft.com/en-us/library/ms809762.aspx</a> - Table 6.
IMAGE_SECTION_HEADER Formats ).
Finally it is not possible to display coverage .profdata file using clang-cov.</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>