• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
2// RUN:   llvm-readobj -r | FileCheck -check-prefix=OBJ %s
3
4        ldr x0, some_label
5        ldr w3, some_label
6        ldrsw x9, some_label
7        prfm pldl3keep, some_label
8
9// OBJ:      Relocations [
10// OBJ-NEXT:   Section {{.*}} .rela.text {
11// OBJ-NEXT:     0x0 R_AARCH64_LD_PREL_LO19 some_label 0x0
12// OBJ-NEXT:     0x4 R_AARCH64_LD_PREL_LO19 some_label 0x0
13// OBJ-NEXT:     0x8 R_AARCH64_LD_PREL_LO19 some_label 0x0
14// OBJ-NEXT:     0xC R_AARCH64_LD_PREL_LO19 some_label 0x0
15// OBJ-NEXT:   }
16// OBJ-NEXT: ]
17