<html>
<head>
<base href="http://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 --- - FreeBSD ProcessMonitor.cpp uses AMD64 register names unconditionally"
href="http://llvm.org/bugs/show_bug.cgi?id=16511">16511</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FreeBSD ProcessMonitor.cpp uses AMD64 register names unconditionally
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>other
</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>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rmh@gnu.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10803" name="attach_10803" title="untested patch to fix build on i386-kfreebsd-gnu (and possibly i386-freebsd)">attachment 10803</a> <a href="attachment.cgi?id=10803&action=edit" title="untested patch to fix build on i386-kfreebsd-gnu (and possibly i386-freebsd)">[details]</a></span>
untested patch to fix build on i386-kfreebsd-gnu (and possibly i386-freebsd)
I found this on GNU/kFreeBSD, but I believe FreeBSD would be affected as well.
Please let me know if I may be missing something.
As you can see in last attempted build for i386-kfreebsd-gnu [1],
ProcessMonitor.cpp won't build because it's referring to registers which exist
on AMD64, but not on IA32.
I think this could be fixed using special case for i386 and amd64. Please see
attached patch (UNTESTED).
[1]
<a href="https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.3&arch=kfreebsd-i386&ver=1%3A3.3-3&stamp=1372679969">https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.3&arch=kfreebsd-i386&ver=1%3A3.3-3&stamp=1372679969</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>