]> granicus.if.org Git - llvm/commit
[ARM] Support the .inst directive for MachO and COFF targets
authorMartin Storsjo <martin@martin.st>
Tue, 31 Jul 2018 09:27:01 +0000 (09:27 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 31 Jul 2018 09:27:01 +0000 (09:27 +0000)
commit4c60168fd238841060d08c7ca56772e5f8ef5bdb
treedb8bd377528caff406cba9e5f0837866dbe4ccaf
parent90e3e8259bc57e338c4748eabda85852a39109ce
[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]