[ARM] Support the .inst directive for MachO and COFF targets
commit9c33fe788f225d2b2ddcc9deb258ba45341af226
authorMartin Storsjo <martin@martin.st>
Tue, 31 Jul 2018 09:27:01 +0000 (31 09:27 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 31 Jul 2018 09:27:01 +0000 (31 09:27 +0000)
treedb8bd377528caff406cba9e5f0837866dbe4ccaf
parentfccec21db7f7f379735de0f9b6fac2bc95ab90fc
[ARM] Support the .inst directive for MachO and COFF targets

Contrary to ELF, we don't add any markers that distinguish data generated
with .short/.long from normal instructions, so the .inst directive only
adds compatibility with assembly that uses it.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338356 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
test/MC/ARM/directive-unsupported.s
test/MC/ARM/inst-directive-other.s [new file with mode: 0644]