| # RUN: sed s/FEAT_VALUE/1/ %s | yaml2obj > %t.obj |
| # RUN: lld-link /out:%t.exe /subsystem:console /entry:main /safeseh %t.obj |
| # RUN: sed s/FEAT_VALUE/0/ %s | yaml2obj > %t.obj |
| # RUN: not lld-link /out:%t.exe /subsystem:console /entry:main \ |
| # RUN: /safeseh %t.obj >& %t.log |
| # RUN: FileCheck %s < %t.log |
| # CHECK: /safeseh: {{.*}} is not compatible with SEH |
| Machine: IMAGE_FILE_MACHINE_I386 |
| Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] |
| SectionData: 0000000000000000 |
| SimpleType: IMAGE_SYM_TYPE_NULL |
| ComplexType: IMAGE_SYM_DTYPE_NULL |
| StorageClass: IMAGE_SYM_CLASS_STATIC |
| SimpleType: IMAGE_SYM_TYPE_NULL |
| ComplexType: IMAGE_SYM_DTYPE_NULL |
| StorageClass: IMAGE_SYM_CLASS_STATIC |
| SimpleType: IMAGE_SYM_TYPE_NULL |
| ComplexType: IMAGE_SYM_DTYPE_NULL |
| StorageClass: IMAGE_SYM_CLASS_STATIC |
| SimpleType: IMAGE_SYM_TYPE_NULL |
| ComplexType: IMAGE_SYM_DTYPE_FUNCTION |
| StorageClass: IMAGE_SYM_CLASS_EXTERNAL |