• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-mc < %s -triple arm64-apple-darwin --show-encoding | FileCheck %s
2
3foo:
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
7Lbar:
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
11