1 // RUN
: not llvm-mc
-triple aarch64-win32
-filetype
=obj
%s
-o
/dev
/null
2>&1 | FileCheck
%s
4 // CHECK
: error
: relocation variant
:got
: unsupported on COFF targets
5 // CHECK-NEXT
: adrp x0
, :got
:symbol
8 ldr x0
, [x0
, :got_lo12
:symbol
]
9 // CHECK
: error
: relocation variant
:got_lo12
: unsupported on COFF targets
10 // CHECK-NEXT
: ldr x0
, [x0
, :got_lo12
:symbol
]
13 adrp x0
, :tlsdesc
:symbol
14 // CHECK
: error
: relocation variant
:tlsdesc
: unsupported on COFF targets
15 // CHECK-NEXT
: adrp x0
, :tlsdesc
:symbol
17 add x0
, x0
, :tlsdesc_lo12
:symbol
18 // CHECK
: error
: relocation variant
:tlsdesc_lo12
: unsupported on COFF targets
19 // CHECK-NEXT
: add x0
, x0
, :tlsdesc_lo12
:symbol
22 adrp x0
, :gottprel
:symbol
23 // CHECK
: error
: relocation variant
:gottprel
: unsupported on COFF targets
24 // CHECK-NEXT
: adrp x0
, :gottprel
:symbol
26 ldr x0
, [x0
, :gottprel_lo12
:symbol
]
27 // CHECK
: error
: relocation variant
:gottprel_lo12
: unsupported on COFF targets
28 // CHECK-NEXT
: ldr x0
, [x0
, :gottprel_lo12
:symbol
]
31 add x0
, x0
, #:dtprel_hi12:symbol, lsl #12
32 // CHECK
: error
: relocation variant
:dtprel_hi12
: unsupported on COFF targets
33 // CHECK-NEXT
: add x0
, x0
, #:dtprel_hi12:symbol, lsl #12
35 add x0
, x0
, :dtprel_lo12
:symbol
36 // CHECK
: error
: relocation variant
:dtprel_lo12
: unsupported on COFF targets
37 // CHECK-NEXT
: add x0
, x0
, :dtprel_lo12
:symbol
41 movz x0
, #:abs_g0:symbol
42 // CHECK
: error
: relocation type
:abs_g0
: unsupported on COFF targets
43 // CHECK-NEXT
: movz x0
, #:abs_g0:symbol
49 // CHECK
: error
: Cannot represent this expression
50 // CHECK-NEXT
: .short label - table