llvm-project/lld/test/ELF/aarch64-hi21-nc.s

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
237 B
ArmAsm
Raw Normal View History

// REQUIRES: aarch64
// RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-linux %s -o %t.o
// RUN: ld.lld %t.o -o %t
// RUN: llvm-objdump -d %t | FileCheck %s
foo = . + 0x1100000000000000
// CHECK: adrp x0, #0
adrp x0, :pg_hi21_nc:foo