1 # RUN: rm -rf %t && mkdir -p %t
2 # RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t/ppc64_elf.o %s
3 # RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t/ppc64_elf_module_b.o %S/Inputs/ppc64_elf_module_b.s
4 # RUN: llvm-rtdyld -triple=powerpc64le-unknown-linux-gnu -verify -check=%s %t/ppc64_elf.o %t/ppc64_elf_module_b.o
9 .globl bar # -- Begin function bar
13 .quad .TOC.-.Lfunc_gep0
18 ld 2, .Lfunc_toc0-.Lfunc_gep0(12)
21 .localentry bar, .Lfunc_lep0-.Lfunc_gep0
26 .cfi_def_cfa_offset 32
28 # rtdyld-check: (*{4}(stub_addr(ppc64_elf.o/.text, foo) + 0)) [15:0] = foo_gep [63:48]
29 # rtdyld-check: (*{4}(stub_addr(ppc64_elf.o/.text, foo) + 4)) [15:0] = foo_gep [47:32]
30 # rtdyld-check: (*{4}(stub_addr(ppc64_elf.o/.text, foo) + 12)) [15:0] = foo_gep [31:16]
31 # rtdyld-check: (*{4}(stub_addr(ppc64_elf.o/.text, foo) + 16)) [15:0] = foo_gep [15:0]
32 # rtdyld-check: decode_operand(foo_call, 0) = (stub_addr(ppc64_elf.o/.text, foo) - foo_call) >> 2
43 .size bar, .Lfunc_end0-.Lfunc_begin0
47 .section ".note.GNU-stack","",@progbits