• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ RUN: not llvm-mc -triple thumbv7-windows -filetype asm -o /dev/null %s 2>&1 \
2@ RUN:     | FileCheck %s
3
4@ RUN: not llvm-mc -triple armv7-darwin -filetype asm -o /dev/null %s 2>&1 \
5@ RUN:    | FileCheck %s
6
7	.syntax unified
8
9	.arch armv7
10
11// CHECK: error: unknown directive
12// CHECK: .arch armv7
13// CHECK: ^
14
15	.cpu cortex-a7
16
17// CHECK: error: unknown directive
18// CHECK: .cpu cortex-a7
19// CHECK: ^
20
21	.fpu neon
22
23// CHECK: error: unknown directive
24// CHECK: .fpu neon
25// CHECK: ^
26
27	.eabi_attribute 0, 0
28
29// CHECK: error: unknown directive
30// CHECK: .eabi_attribute 0, 0
31// CHECK: ^
32
33	.inst 0xdefe
34
35// CHECK: error: unknown directive
36// CHECK: .inst 0xdefe
37// CHECK: ^
38
39	.inst.n 0xdefe
40
41// CHECK: error: unknown directive
42// CHECK: .inst.n 0xdefe
43// CHECK: ^
44
45	.inst.w 0xdefe
46
47// CHECK: error: unknown directive
48// CHECK: .inst.w 0xdefe
49// CHECK: ^
50
51	.object_arch armv7
52
53// CHECK: error: unknown directive
54// CHECK: .object_arch armv7
55// CHECK: ^
56
57	.tlsdescseq undefined
58
59// CHECK: error: unknown directive
60// CHECK: .tlsdescseq undefined
61// CHECK: ^
62
63	.fnstart
64
65// CHECK: error: unknown directive
66// CHECK: .fnstart
67// CHECK: ^
68
69