[llvm-bugs] [Bug 41505] New: Support mixed ARM/Thumb disassembly via llvm-objdump (and other tools/APIs)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 15 11:31:06 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: srhines at google.com
                CC: llvm-bugs at lists.llvm.org, oliver.stannard at arm.com,
                    peter.smith at linaro.org, Ties.Stuij at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190415/fe88c56b/attachment.html>


More information about the llvm-bugs mailing list