[llvm-bugs] [Bug 35856] New: llvm-objdump can't handle a mix of object formats
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 8 05:19:29 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35856
Bug ID: 35856
Summary: llvm-objdump can't handle a mix of object formats
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-objdump
Assignee: unassignedbugs at nondot.org
Reporter: al.grant at arm.com
CC: llvm-bugs at lists.llvm.org
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180108/007ff4da/attachment.html>
More information about the llvm-bugs
mailing list