[AArch64] Support the .inst directive for MachO and COFF targets
authorMartin Storsjo <martin@martin.st>
Tue, 31 Jul 2018 09:26:52 +0000 (09:26 +0000)
committerMartin Storsjo <martin@martin.st>
Tue, 31 Jul 2018 09:26:52 +0000 (09:26 +0000)
commit3e3d39d07ea8bc210dfb256edc0ac5c66fb84474
tree328430e1095018f5b9a7f97b07258dc57e1e2931
parent2a6c842fda75c31152d9a2617ebcdfd1a0533a83
[AArch64] Support the .inst directive for MachO and COFF targets

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

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

llvm-svn: 338355
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
llvm/test/MC/AArch64/inst-directive-other.s [new file with mode: 0644]