[LLDB] Always interpret arm instructions as thumb on windows
authorMartin Storsjö <martin@martin.st>
Tue, 15 Oct 2019 21:05:06 +0000 (00:05 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 28 Nov 2019 09:27:00 +0000 (11:27 +0200)
commitf5c54f40327b1680bf7e55d358b43a92395ae669
treecc0210c4b72b8b724c2136ac7f8b0023c260b5c8
parent934c025e9bdd28db544dfd57783d0fb8907a92d3
[LLDB] Always interpret arm instructions as thumb on windows

Windows on ARM always uses thumb mode, and doesn't have most of the
mechanisms that are used in e.g. ELF for distinguishing between arm
and thumb.

Differential Revision: https://reviews.llvm.org/D70796
lldb/source/Utility/ArchSpec.cpp
lldb/test/Shell/ObjectFile/PECOFF/disassemble-thumb.yaml [new file with mode: 0644]