1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link /opt:icf /entry:foo /out:%t.exe /subsystem:console /include:bar \
3 # RUN: /debug /verbose %t.obj > %t.log 2>&1
4 # RUN: FileCheck %s < %t.log
11 Machine: IMAGE_FILE_MACHINE_AMD64
15 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
17 SectionData: 4883EC28E8000000004883C428C3
20 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
22 SectionData: 0000000000000000000000000000
25 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
27 SectionData: 4883EC28E8000000004883C428C3
30 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ]
32 SectionData: FFFFFFFFFFFFFFFFFFFFFFFFFFFF
38 SimpleType: IMAGE_SYM_TYPE_NULL
39 ComplexType: IMAGE_SYM_DTYPE_NULL
40 StorageClass: IMAGE_SYM_CLASS_STATIC
43 NumberOfRelocations: 0
44 NumberOfLinenumbers: 0
47 Selection: IMAGE_COMDAT_SELECT_ANY
52 SimpleType: IMAGE_SYM_TYPE_NULL
53 ComplexType: IMAGE_SYM_DTYPE_NULL
54 StorageClass: IMAGE_SYM_CLASS_STATIC
57 NumberOfRelocations: 0
58 NumberOfLinenumbers: 0
61 Selection: IMAGE_COMDAT_SELECT_ASSOCIATIVE
66 SimpleType: IMAGE_SYM_TYPE_NULL
67 ComplexType: IMAGE_SYM_DTYPE_NULL
68 StorageClass: IMAGE_SYM_CLASS_STATIC
71 NumberOfRelocations: 0
72 NumberOfLinenumbers: 0
75 Selection: IMAGE_COMDAT_SELECT_ANY
80 SimpleType: IMAGE_SYM_TYPE_NULL
81 ComplexType: IMAGE_SYM_DTYPE_NULL
82 StorageClass: IMAGE_SYM_CLASS_STATIC
85 NumberOfRelocations: 0
86 NumberOfLinenumbers: 0
89 Selection: IMAGE_COMDAT_SELECT_ASSOCIATIVE
94 SimpleType: IMAGE_SYM_TYPE_NULL
95 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
96 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
101 SimpleType: IMAGE_SYM_TYPE_NULL
102 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
103 StorageClass: IMAGE_SYM_CLASS_EXTERNAL