blob: 8e4ab5432244c048e7f851299984e143c8c4dde1 [file] [log] [blame]
# RUN: yaml2obj %s -o %t.obj
# RUN: lld-link -safeseh:no /subsystem:console /out:%t.exe %t.obj
--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_I386
Characteristics: []
sections:
- Name: .text
Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
Alignment: 4
SectionData: B800000000506800000000680000000050E80000000050E800000000
- Name: .drectve
Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
Alignment: 1
SectionData: 2f656e7472793a437573746f6d456e74727900 # /entry:CustomEntry
symbols:
- Name: _CustomEntry
Value: 0
SectionNumber: 1
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_EXTERNAL
...