HomePhabricator

[llvm-objdump] Switch between ARM/Thumb based on mapping symbols.

Description

[llvm-objdump] Switch between ARM/Thumb based on mapping symbols.

The ARMDisassembler changes allow changing between ARM and Thumb mode
based on the MCSubtargetInfo, rather than the Target, which simplifies
the other changes a bit.

I'm not really happy with adding more target-specific logic to
tools/llvm-objdump/, but there isn't any easy way around it: the logic
in question specifically applies to disassembling an object file, and
that code simply isn't located in lib/Target, at least at the moment.

Differential Revision: https://reviews.llvm.org/D60927

Details

Committed
efriedmaJun 19 2019, 5:29 PM
Differential Revision
D60927: [llvm-objdump] Switch between ARM/Thumb based on mapping symbols.
Parents
rL363902: AMDGPU: Consolidate some getGeneration checks
Branches
Unknown
Tags
Unknown