17 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o3# RUN: ld.lld --emit-relocs %t1.o -o %t4# RUN: llvm-readobj -r %t | FileCheck %s5 6# CHECK: Relocations [7# CHECK-NEXT: Section {{.*}} .rela.eh_frame {8# CHECK-NEXT: 0x{{.*}} R_X86_64_PC32 .text 0x09# CHECK-NEXT: }10# CHECK-NEXT: ]11 12.text13.globl foo14foo:15 .cfi_startproc16 .cfi_endproc17