Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / entry-drectve.test
blob8e4ab5432244c048e7f851299984e143c8c4dde1
1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link -safeseh:no /subsystem:console /out:%t.exe %t.obj
4 --- !COFF
5 header:
6   Machine:         IMAGE_FILE_MACHINE_I386
7   Characteristics: []
8 sections:
9   - Name:            .text
10     Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
11     Alignment:       4
12     SectionData:     B800000000506800000000680000000050E80000000050E800000000
13   - Name:            .drectve
14     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
15     Alignment:       1
16     SectionData:     2f656e7472793a437573746f6d456e74727900 # /entry:CustomEntry
17 symbols:
18   - Name:            _CustomEntry
19     Value:           0
20     SectionNumber:   1
21     SimpleType:      IMAGE_SYM_TYPE_NULL
22     ComplexType:     IMAGE_SYM_DTYPE_NULL
23     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
24 ...