https://bugs.llvm.org/show_bug.cgi?id=41505
Bug ID: 41505
Summary: Support mixed ARM/Thumb disassembly via llvm-objdump
(and other tools/APIs)
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: ARM
Assignee: unassignedb...@nondot.org
Reporter: srhi...@google.com
CC: llvm-bugs@lists.llvm.org, oliver.stann...@arm.com,
peter.sm...@linaro.org, ties.st...@arm.com
Currently, the ARM/Thumb backend requires that you pass something like
"-triple=thumb" to llvm-objdump in order to disassemble Thumb code. This is
inconvenient for objects/binaries that mix ARM and Thumb code, usually
requiring the developer to run llvm-objdump twice (once with ARM mode and once
with Thumb mode). At least for unstripped code, it should be possible to
determine which bytes are generally being interpreted as ARM or Thumb code, and
then emit the interleaved disassembly nicely.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs