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 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
25 SectionData: 4883EC28E8000000004883C428C3
29 Type: IMAGE_REL_AMD64_REL32
34 SimpleType: IMAGE_SYM_TYPE_NULL
35 ComplexType: IMAGE_SYM_DTYPE_NULL
36 StorageClass: IMAGE_SYM_CLASS_STATIC
39 NumberOfRelocations: 1
40 NumberOfLinenumbers: 0
43 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES
47 SimpleType: IMAGE_SYM_TYPE_NULL
48 ComplexType: IMAGE_SYM_DTYPE_NULL
49 StorageClass: IMAGE_SYM_CLASS_STATIC
52 NumberOfRelocations: 1
53 NumberOfLinenumbers: 0
56 Selection: IMAGE_COMDAT_SELECT_NODUPLICATES
60 SimpleType: IMAGE_SYM_TYPE_NULL
61 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
62 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
66 SimpleType: IMAGE_SYM_TYPE_NULL
67 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
68 StorageClass: IMAGE_SYM_CLASS_EXTERNAL