1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC/ARM/directive-unsupported.s
Martin Storsjo a2522f2dc9 [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

llvm-svn: 338356
2018-07-31 09:27:01 +00:00

51 lines
864 B
ArmAsm

@ RUN: not llvm-mc -triple thumbv7-windows -filetype asm -o /dev/null %s 2>&1 \
@ RUN: | FileCheck %s
@ RUN: not llvm-mc -triple armv7-darwin -filetype asm -o /dev/null %s 2>&1 \
@ RUN: | FileCheck %s
.syntax unified
.arch armv7
// CHECK: error: unknown directive
// CHECK: .arch armv7
// CHECK: ^
.cpu cortex-a7
// CHECK: error: unknown directive
// CHECK: .cpu cortex-a7
// CHECK: ^
.fpu neon
// CHECK: error: unknown directive
// CHECK: .fpu neon
// CHECK: ^
.eabi_attribute 0, 0
// CHECK: error: unknown directive
// CHECK: .eabi_attribute 0, 0
// CHECK: ^
.object_arch armv7
// CHECK: error: unknown directive
// CHECK: .object_arch armv7
// CHECK: ^
.tlsdescseq undefined
// CHECK: error: unknown directive
// CHECK: .tlsdescseq undefined
// CHECK: ^
.fnstart
// CHECK: error: unknown directive
// CHECK: .fnstart
// CHECK: ^