<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:labath@google.com" title="labath@google.com">labath@google.com</a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - llvm-nm crashes when processing an archive"
href="http://llvm.org/bugs/show_bug.cgi?id=17056">bug 17056</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - llvm-nm crashes when processing an archive"
href="http://llvm.org/bugs/show_bug.cgi?id=17056#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - llvm-nm crashes when processing an archive"
href="http://llvm.org/bugs/show_bug.cgi?id=17056">bug 17056</a>
from <span class="vcard"><a class="email" href="mailto:labath@google.com" title="labath@google.com">labath@google.com</a>
</span></b>
<pre>Removing bin/llvm-ranlib does indeed make the problem go away (thanks for
that). However, I believe this only solves half of the problem. The first issue
I mentioned still exists: I do not think llvm-nm should crash when processing a
corrupted file, even if that file was produced by accident. If it's not
possible to recover from that situation then we should replace the call to
llvm_unreachable by exit() and an error message, but for example GNU nm just
prints a message about unrecognized format and then it continues to parse the
rest of the files in the archive (apparently correctly).
I will reopen this so that someone else has a chance to look at it.</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>