# RUN: yaml2obj %s -o %t # RUN: llvm-objdump %t -d --symbolize-operands --no-show-raw-insn --no-leading-addr | \ # RUN: FileCheck %s --match-full-lines -DABS_ADRP_VAL=0x6000 # RUN: llvm-objdump %t -d --symbolize-operands --no-show-raw-insn --no-leading-addr --adjust-vma=0x2000 | \ # RUN: FileCheck %s --match-full-lines -DABS_ADRP_VAL=0x8000 ## Expect to find the branch labels and global variable name. # CHECK: <_start>: # CHECK-NEXT: ldr x0, # CHECK-NEXT: : # CHECK-NEXT: adrp x1, [[ABS_ADRP_VAL]] # CHECK-NEXT: adr x2, # CHECK-NEXT: cmp x1, x2 # CHECK-NEXT: b.eq # CHECK-NEXT: b # CHECK-NEXT: : # CHECK-NEXT: cbz x2, # CHECK-NEXT: ret ## Machine code generated with: # llvm-mc --arch=aarch64 --filetype=obj -o tmp.o <