brintos

brintos / llvm-project-archived public Read only

0
0
Text · 823 B · 2b07c01 Raw
21 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3# RUN: ld.lld %t.o -shared -F foo.so -F boo.so -o %t14# RUN: llvm-readobj --dynamic-table %t1 | FileCheck %s5 6# Test alias #1.7# RUN: ld.lld %t.o -shared --filter=foo.so --filter=boo.so -o %t28# RUN: llvm-readobj --dynamic-table %t2 | FileCheck %s9 10# Test alias #2.11# RUN: ld.lld %t.o -shared --filter foo.so --filter boo.so -o %t312# RUN: llvm-readobj --dynamic-table %t3 | FileCheck %s13 14# CHECK:      DynamicSection [15# CHECK-NEXT: Tag                Type          Name/Value16# CHECK-NEXT: 0x000000007FFFFFFF FILTER        Filter library: [foo.so]17# CHECK-NEXT: 0x000000007FFFFFFF FILTER        Filter library: [boo.so]18 19# RUN: not ld.lld %t.o -F x -o /dev/null 2>&1 | FileCheck -check-prefix=ERR %s20# ERR: -F may not be used without -shared21