1# REQUIRES: x86 2 3## Confirm --dynamic-list identifies symbols by entries, including wildcards. 4## Entries need not match a symbol. 5 6# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o 7 8# RUN: echo '{ [fb]o?1*; };' > %t.list 9# RUN: ld.lld -pie --dynamic-list %t.list %t.o -o %t 10# RUN: llvm-readelf --dyn-syms %t | FileCheck %s 11 12# CHECK: Symbol table '.dynsym' contains 4 entries: 13# CHECK: boo1 14# CHECK-NEXT: foo1 15# CHECK-NEXT: foo11 16 17.globl _start, foo1, foo11, foo2, boo1 18foo1: 19foo11: 20foo2: 21boo1: 22_start: 23