Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / dynamic-list-glob.s
blob1a849782074aea7200ac48ad824e7a60d3a9132b
1 # REQUIRES: x86
3 ## Confirm --dynamic-list identifies symbols by entries, including wildcards.
4 ## Entries need not match a symbol.
6 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
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
12 # CHECK: Symbol table '.dynsym' contains 4 entries:
13 # CHECK: boo1
14 # CHECK-NEXT: foo1
15 # CHECK-NEXT: foo11
17 .globl _start, boo1, foo1, foo11, foo2
18 _start:
19 foo1:
20 foo11:
21 foo2:
22 boo1: