Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / debug.test
blobeae6dbdfe14b0531ecfcacdcc7ad5138475a9e1f
1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link /out:%t.exe /entry:main /subsystem:console %t.obj
4 --- !COFF
5 header:
6   Machine:         IMAGE_FILE_MACHINE_AMD64
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:     B82A000000C3
13 symbols:
14   - Name:            .text
15     Value:           0
16     SectionNumber:   1
17     SimpleType:      IMAGE_SYM_TYPE_NULL
18     ComplexType:     IMAGE_SYM_DTYPE_NULL
19     StorageClass:    IMAGE_SYM_CLASS_STATIC
20     SectionDefinition:
21       Length:          6
22       NumberOfRelocations: 0
23       NumberOfLinenumbers: 0
24       CheckSum:        0
25       Number:          0
26   - Name:            main
27     Value:           0
28     SectionNumber:   1
29     SimpleType:      IMAGE_SYM_TYPE_NULL
30     ComplexType:     IMAGE_SYM_DTYPE_NULL
31     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
32   - Name:            debug
33     Value:           0
34     SectionNumber:   -2
35     SimpleType:      IMAGE_SYM_TYPE_NULL
36     ComplexType:     IMAGE_SYM_DTYPE_NULL
37     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
38 ...