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: unassignedb...@nondot.org
Reporter: al.gr...@arm.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs