• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: not llvm-mc < %s -filetype=obj --triple=x86_64-windows -o /dev/null 2>&1 | FileCheck %s
2
3.cv_def_range  .Ltmp1 .Ltmp2
4# CHECK: error: expected comma before def_range type in .cv_def_range directive
5# CHECK: error: expected def_range type in directive
6
7.cv_def_range  .Ltmp1 .Ltmp2,
8# CHECK: error: expected def_range type in directive
9
10.cv_def_range  .Ltmp1 .Ltmp2, subfield_reg
11# CHECK: error: expected comma before register number in .cv_def_range directive
12# CHECK: error: expected register number
13
14.cv_def_range  .Ltmp1 .Ltmp2, subfield_reg,
15# CHECK: error: unknown token in expression
16# CHECK: error: expected register number
17
18.cv_def_range  .Ltmp1 .Ltmp2, subfield_reg, 25
19# CHECK: error: expected comma before offset in .cv_def_range directive
20# CHECK: error: expected offset value
21
22.cv_def_range  .Ltmp1 .Ltmp2, subfield_reg, 25,
23# CHECK: error: unknown token in expression
24# CHECK: error: expected offset value
25
26
27
28
29.cv_def_range    .Ltmp1 .Ltmp2
30# CHECK: error: expected comma before def_range type in .cv_def_range directive
31# CHECK: error: expected def_range type in directive
32
33.cv_def_range    .Ltmp1 .Ltmp2,
34# CHECK: error: expected def_range type in directive
35
36.cv_def_range    .Ltmp1 .Ltmp2, reg
37# CHECK: error: expected comma before register number in .cv_def_range directive
38# CHECK: error: expected register number
39
40.cv_def_range    .Ltmp1 .Ltmp2, reg,
41# CHECK: error: unknown token in expression
42# CHECK: error: expected register number
43
44
45
46
47.cv_def_range    .Ltmp1 .Ltmp2
48# CHECK: error: expected comma before def_range type in .cv_def_range directive
49# CHECK: error: expected def_range type in directive
50
51.cv_def_range    .Ltmp1 .Ltmp2,
52# CHECK: error: expected def_range type in directive
53
54.cv_def_range    .Ltmp1 .Ltmp2, frame_ptr_rel
55# CHECK: error: expected comma before offset in .cv_def_range directive
56# CHECK: error: expected offset value
57
58.cv_def_range    .Ltmp1 .Ltmp2, frame_ptr_rel,
59# CHECK: error: unknown token in expression
60# CHECK: error: expected offset value
61
62
63
64
65
66.cv_def_range    .Ltmp1 .Ltmp2
67# CHECK: error: expected comma before def_range type in .cv_def_range directive
68# CHECK: error: expected def_range type in directive
69
70.cv_def_range    .Ltmp1 .Ltmp2,
71# CHECK: error: expected def_range type in directive
72
73.cv_def_range    .Ltmp1 .Ltmp2, reg_rel
74# CHECK: error: expected comma before register number in .cv_def_range directive
75# CHECK: error: expected register value
76
77.cv_def_range    .Ltmp1 .Ltmp2, reg_rel,
78# CHECK: error: unknown token in expression
79# CHECK: error: expected register value
80
81.cv_def_range    .Ltmp1 .Ltmp2, reg_rel, 330
82# CHECK: error: expected comma before flag value in .cv_def_range directive
83# CHECK: error: expected flag value
84
85.cv_def_range    .Ltmp1 .Ltmp2, reg_rel, 330,
86# CHECK: error: unknown token in expression
87# CHECK: error: expected flag value
88
89.cv_def_range    .Ltmp1 .Ltmp2, reg_rel, 330, 0
90# CHECK: error: expected comma before base pointer offset in .cv_def_range directive
91# CHECK: error: expected base pointer offset value
92
93.cv_def_range    .Ltmp1 .Ltmp2, reg_rel, 330, 0,
94# CHECK: error: unknown token in expression
95# CHECK: error: expected base pointer offset value
96