17 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/shared.s -o %t.o3// RUN: ld.lld %t.o -o %t.so -shared4// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t2.o5// RUN: ld.lld %t2.o %t.so -o %t6// RUN: llvm-readobj -r %t | FileCheck %s7 8 .globl _start9_start:10 .cfi_startproc11 .cfi_personality 3, bar12 .cfi_endproc13 14// CHECK: Section ({{.*}}) .rela.plt {15// CHECK-NEXT: R_X86_64_JUMP_SLOT bar 0x016// CHECK-NEXT: }17