[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / arm64-arm64-fixup.s
blob81306fb5ac06458232f61d3fbe89eba3d2428871
1 ; RUN: llvm-mc < %s -triple arm64-apple-darwin --show-encoding | FileCheck %s
3 foo:
4 adr x3, Lbar
5 ; CHECK: adr x3, Lbar ; encoding: [0x03'A',A,A,0x10'A']
6 ; CHECK: fixup A - offset: 0, value: Lbar, kind: fixup_aarch64_pcrel_adr_imm21
7 Lbar:
8 adrp x3, _printf@page
9 ; CHECK: adrp x3, _printf@PAGE ; encoding: [0x03'A',A,A,0x90'A']
10 ; CHECK: fixup A - offset: 0, value: _printf@PAGE, kind: fixup_aarch64_pcrel_adrp_imm21