[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / COFF / exclude-symbols-embedded.s
blob1520bb4b80280e75aa6023e0148b5f6f3156097b
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=i686-win32-gnu %s -o %t.o
4 // RUN: lld-link -lldmingw -dll -out:%t.dll %t.o -noentry
5 // RUN: llvm-readobj --coff-exports %t.dll | FileCheck --implicit-check-not=Name: %s
7 // CHECK: Name: sym1
9 .global _sym1
10 _sym1:
11 ret
13 .global _sym2
14 _sym2:
15 ret
17 .global _sym3
18 _sym3:
19 ret
21 .section .drectve,"yn"
22 .ascii " -exclude-symbols:sym2,unknownsym"
23 .ascii " -exclude-symbols:unkonwnsym,sym3"