43 lines · plain
1# Test that non-external symbols don't conflict2 3# RUN: yaml2obj %s -o %t1.obj4# RUN: yaml2obj %s -o %t2.obj5# RUN: yaml2obj %p/Inputs/ret42.yaml -o %t3.obj6# RUN: lld-link /out:%t.exe /entry:main %t1.obj %t2.obj %t3.obj7 8--- !COFF9header:10 Machine: IMAGE_FILE_MACHINE_AMD6411 Characteristics: []12sections:13 - Name: .text14 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]15 Alignment: 416 SectionData: 00000000000017symbols:18 - Name: .text19 Value: 020 SectionNumber: 121 SimpleType: IMAGE_SYM_TYPE_NULL22 ComplexType: IMAGE_SYM_DTYPE_NULL23 StorageClass: IMAGE_SYM_CLASS_STATIC24 SectionDefinition:25 Length: 626 NumberOfRelocations: 027 NumberOfLinenumbers: 028 CheckSum: 029 Number: 030 - Name: defined31 Value: 032 SectionNumber: 133 SimpleType: IMAGE_SYM_TYPE_NULL34 ComplexType: IMAGE_SYM_DTYPE_NULL35 StorageClass: IMAGE_SYM_CLASS_STATIC36 - Name: absolute37 Value: 0xdeadbeef38 SectionNumber: -139 SimpleType: IMAGE_SYM_TYPE_NULL40 ComplexType: IMAGE_SYM_DTYPE_NULL41 StorageClass: IMAGE_SYM_CLASS_STATIC42...43