19 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/verneed1.s -o %t1.o3# RUN: echo "v1 {}; v2 {}; v3 { local: *; };" > %t.script4# RUN: ld.lld -shared %t1.o --version-script %t.script -o %t.so5 6# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o7# RUN: ld.lld %t.o --as-needed %t.so -o %t8# RUN: llvm-readobj -V %t | FileCheck %s9 10# CHECK: VersionRequirements [11# CHECK-NEXT: ]12 13.weak f114 15.globl _start16_start:17.data18.quad f119