1 # RUN: sed s/FEAT_VALUE/1/ %s | yaml2obj > %t.obj
2 # RUN: lld-link /out:%t.exe /subsystem:console /entry:main /safeseh %t.obj
4 # RUN: sed s/FEAT_VALUE/0/ %s | yaml2obj > %t.obj
5 # RUN: not lld-link /out:%t.exe /subsystem:console /entry:main \
6 # RUN: /safeseh %t.obj >& %t.log
7 # RUN: FileCheck %s < %t.log
9 # CHECK: /safeseh: {{.*}} is not compatible with SEH
13 Machine: IMAGE_FILE_MACHINE_I386
17 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
19 SectionData: 0000000000000000
24 SimpleType: IMAGE_SYM_TYPE_NULL
25 ComplexType: IMAGE_SYM_DTYPE_NULL
26 StorageClass: IMAGE_SYM_CLASS_STATIC
30 SimpleType: IMAGE_SYM_TYPE_NULL
31 ComplexType: IMAGE_SYM_DTYPE_NULL
32 StorageClass: IMAGE_SYM_CLASS_STATIC
36 SimpleType: IMAGE_SYM_TYPE_NULL
37 ComplexType: IMAGE_SYM_DTYPE_NULL
38 StorageClass: IMAGE_SYM_CLASS_STATIC
41 NumberOfRelocations: 0
42 NumberOfLinenumbers: 0
48 SimpleType: IMAGE_SYM_TYPE_NULL
49 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
50 StorageClass: IMAGE_SYM_CLASS_EXTERNAL