brintos

brintos / llvm-project-archived public Read only

0
0
Text · 346 B · cc8fd07 Raw
16 lines · plain
1; RUN: llc -filetype=obj -x86-relax-relocations=true -mtriple=x86_64-linux-gnu -o - %s |  llvm-objdump - -d -r | FileCheck %s2 3; CHECK: jmpq *(%rip)4; CHECK-NEXT: R_X86_64_GOTPCRELX5 6define i32 @main() {7entry:8  %call = tail call i32 @foo()9  ret i32 %call10}11 12; Function Attrs: nonlazybind13declare i32 @foo() #114 15attributes #1 = { nonlazybind }16