1 // RUN
: llvm-mc
-target-abi
=ilp32
-triple aarch64-non-linux-gnu
-filetype
=obj \
2 // RUN
: %s | llvm-objdump
-r
- | FileCheck
--check-prefix
=CHECK-ILP32
%s
3 // RUN
: llvm-mc
-triple aarch64-non-linux-gnu
-filetype
=obj \
4 // RUN
: %s | llvm-objdump
-r
- | FileCheck
--check-prefix
=CHECK-LP64
%s
6 .file "../projects/clang/test/Driver/arm64-ilp32.c"
12 sub sp
, sp
, #16 // =16
13 // CHECK-ILP32
: 0000000000000004 R_AARCH64_P32_ADR_PREL_PG_HI21 sizes
14 // CHECK-ILP32
: 0000000000000008 R_AARCH64_P32_ADD_ABS_LO12_NC sizes
15 // CHECK-LP64
: 0000000000000004 R_AARCH64_ADR_PREL_PG_HI21 sizes
16 // CHECK-LP64
: 0000000000000008 R_AARCH64_ADD_ABS_LO12_NC sizes
18 add x8
, x8
, :lo12
:sizes
22 add sp
, sp
, #16 // =16
25 .size foo, .Lfunc_end0-foo
27 .type sizes,@object // @sizes