<html>
<head>
<base href="https://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 --- - Long hang (infinite loop?) with -msan-keep-going"
href="https://llvm.org/bugs/show_bug.cgi?id=28786">28786</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Long hang (infinite loop?) with -msan-keep-going
</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>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>Register Allocator
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sphink@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Attempting to compile the attached file with this command line:
clang++ -std=gnu++11 -x c++ -o hang-regalloc.o hang-regalloc.i -fPIC
-fsanitize=memory -fsanitize-recover=memory -fsanitize-memory-track-origins
-mllvm -msan-keep-going -fno-rtti -fno-exceptions -fno-math-errno
-Qunused-arguments -pthread -pipe -gline-tables-only -O3
-fno-omit-frame-pointer -Wno-invalid-offsetof
hangs for as long as I've ever bothered to wait (at least half an hour).
Attaching with gdb shows that it is doing stuff, but the call
llvm::RegAllocBase::allocatePhysRegs()
never finishes.
% clang++ --version
clang version 3.8.0 (tags/RELEASE_380/final) (llvm/tags/RELEASE_380/final
262557)
Target: x86_64-unknown-linux-gnu
Thread model: posix
I have not tried with any other version.</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>