1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: lld-link /entry:foo /out:%t.exe /subsystem:console /include:bar \
3 # RUN: /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
21 Type: IMAGE_REL_AMD64_REL32
23 SymbolName: __ImageBase
24 Type: IMAGE_REL_AMD64_REL32
26 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
28 SectionData: 4883EC28E8000000004883C428C3
32 Type: IMAGE_REL_AMD64_REL32
34 SymbolName: __ImageBase
35 Type: IMAGE_REL_AMD64_REL32
40 SimpleType: IMAGE_SYM_TYPE_NULL
41 ComplexType: IMAGE_SYM_DTYPE_NULL
42 StorageClass: IMAGE_SYM_CLASS_STATIC
45 NumberOfRelocations: 1
46 NumberOfLinenumbers: 0
49 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES
53 SimpleType: IMAGE_SYM_TYPE_NULL
54 ComplexType: IMAGE_SYM_DTYPE_NULL
55 StorageClass: IMAGE_SYM_CLASS_STATIC
58 NumberOfRelocations: 1
59 NumberOfLinenumbers: 0
62 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES
66 SimpleType: IMAGE_SYM_TYPE_NULL
67 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
68 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
72 SimpleType: IMAGE_SYM_TYPE_NULL
73 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
74 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
78 SimpleType: IMAGE_SYM_TYPE_NULL
79 ComplexType: IMAGE_SYM_DTYPE_NULL
80 StorageClass: IMAGE_SYM_CLASS_EXTERNAL