2 // RUN
: llvm-mc
-filetype
=obj
-triple
=aarch64-windows
%s
-o
%t.obj
3 // RUN
: not lld-link
-entry
:_start
-subsystem
:console
%t.obj
-out
:%t.exe
-dynamicbase
:no
2>&1 | FileCheck
%s
5 // RUN
: llvm-mc
-filetype
=obj
-triple
=arm64ec-windows
%s
-o
%t.obj
6 // RUN
: not lld-link
-entry
:_start
-subsystem
:console
%t.obj
-out
:%t.exe
-dynamicbase
:no
-machine
:arm64ec
2>&1 \
7 // RUN
: | FileCheck
%s
-check-prefix
=ARM64EC
8 // RUN
: not lld-link
-entry
:_start
-subsystem
:console
%t.obj
-out
:%t.exe
-dynamicbase
:no
-machine
:arm64x
-dll
-noentry
2>&1 \
9 // RUN
: | FileCheck
%s
-check-prefix
=ARM64X
14 # CHECK: dynamicbase:no is not compatible with arm64
15 # ARM64EC: dynamicbase:no is not compatible with arm64ec
16 # ARM64X: dynamicbase:no is not compatible with arm64x