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 7 8# DEFAULT: Characteristics [ 9# DEFAULT-NOT: IMAGE_DLL_CHARACTERISTICS_NO_SEH 10# DEFAULT: ] 11 12# NOSEH: Characteristics [ 13# NOSEH: IMAGE_DLL_CHARACTERISTICS_NO_SEH 14# NOSEH: ] 15 16 .text 17 .globl _main 18_main: 19 ret 20