<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 - Handle out-of-order CodeView records in Global Type hashing algorithm"
href="https://bugs.llvm.org/show_bug.cgi?id=35633">35633</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Handle out-of-order CodeView records in Global Type hashing algorithm
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>DebugInfo
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zturner@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Occasionally there are some object files whose orderings violate the
topological sorting requirements. For example, lldiv.obj from msvcrtd.lib
contains this:
0x1000 | LF_LABEL [size = 8] type = near
0x1001 | LF_PROCEDURE [size = 16]
return type = 0x0003 (void), # args = 0, param list = 0x1002
calling conv = cdecl, options = None
0x1002 | LF_ARGLIST [size = 8]
where the LF_PROCEDURE record refers to an LF_ARGLIST record which comes
*after* it. We currently can't handle this, so we hash the numeric value of
the type index instead of the hash of the other record. What we should do is
keep a list of records that we couldn't translate, and then try to translate
them on a second pass.</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>