brintos

brintos / llvm-project-archived public Read only

0
0
Text · 479 B · 6d60d01 Raw
16 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-linux-gnu -o %t1.o %S/Inputs/shlib-undefined-ref.s4# RUN: ld.lld -shared -o %t1.so %t1.o5 6# RUN: llvm-mc -filetype=obj -triple=x86_64-linux-gnu -o %t2.o %s7# RUN: echo "{ local: *; };" > %t.script8# RUN: ld.lld -shared -version-script %t.script -o %t2.so %t2.o %t1.so9# RUN: llvm-nm -g %t2.so | FileCheck -allow-empty %s10 11# CHECK-NOT: should_not_be_exported12 13.globl should_not_be_exported14should_not_be_exported:15	ret16