<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 - llvm-objdump can't handle a mix of object formats"
href="https://bugs.llvm.org/show_bug.cgi?id=35856">35856</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-objdump can't handle a mix of object formats
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</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>llvm-objdump
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>al.grant@arm.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Given a mix of object formats, say
llvm-objdump x86.o arm.o
llvm-objdump will infer the target triple from the first object,
update the command-line option variable, and then use that to control
disassembly of the second object - so it gets it wrong.
All that appears to be needed to have llvm-objdump deal gracefully
with a mix of object types is to keep the inferred triple (and
anything derived from it) local to the processing of each object,
rather than updating the global command-line option variable.</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>