[LLD][COFF] Fix TypeServerSource matcher with more than one collision
[llvm-project.git] / lld / test / COFF / noseh.s
blob442952286229c04fa2adc270b0e92da38fbdff2f
1 # REQUIRES: x86
2 # RUN: llvm-mc -triple i686-w64-mingw32 %s -filetype=obj -o %t.obj
3 # RUN: lld-link -lldmingw %t.obj -out:%t.exe -entry:main
4 # RUN: llvm-readobj --file-headers %t.exe | FileCheck %s --check-prefix=DEFAULT
5 # RUN: lld-link -lldmingw %t.obj -out:%t.noseh.exe -entry:main -noseh
6 # RUN: llvm-readobj --file-headers %t.noseh.exe | FileCheck %s --check-prefix=NOSEH
8 # DEFAULT: Characteristics [
9 # DEFAULT-NOT: IMAGE_DLL_CHARACTERISTICS_NO_SEH
10 # DEFAULT: ]
12 # NOSEH: Characteristics [
13 # NOSEH: IMAGE_DLL_CHARACTERISTICS_NO_SEH
14 # NOSEH: ]
16 .text
17 .globl _main
18 _main:
19 ret