<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 - Disassembler chokes on some X86 instructions with Option_SetInstrComments"
href="https://bugs.llvm.org/show_bug.cgi?id=42873">42873</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Disassembler chokes on some X86 instructions with Option_SetInstrComments
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>8.0
</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>MC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gabriel.corona@enst-bretagne.fr
</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=22332" name="attach_22332" title="Minimal code for reproducing the bug">attachment 22332</a> <a href="attachment.cgi?id=22332&action=edit" title="Minimal code for reproducing the bug">[details]</a></span>
Minimal code for reproducing the bug
When the Option_SetInstrComments options is enables, the disassembler chokes on
somes x86 instructions suchs as:
- punpcklqdq
- pshufd
The disassembler gets into some busy loops and consome all available memory.
This as been testes on both LLVM 6 and LLVM 8 (both from Debian testing and
Arch).
See a minimal code for reproducing the problem as attachement and [1] for the
original but report (with some details).
[1] <a href="https://github.com/randomstuff/unjit/issues/1">https://github.com/randomstuff/unjit/issues/1</a></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>