brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 53550f7 Raw
40 lines · plain
1# RUN: sed -e s/ENTRYNAME/mainCRTStartup/ %s | yaml2obj > %t.obj2# RUN: lld-link /subsystem:console /out:%t.exe %t.obj /verbose /nodefaultlib > %t.log 2>&13# RUN: FileCheck %s < %t.log4 5# RUN: sed -e s/ENTRYNAME/?mainCRTStartup@@YAHXZ/ %s | yaml2obj > %t.obj6# RUN: lld-link /subsystem:console /out:%t.exe %t.obj /verbose /nodefaultlib > %t.log 2>&17# RUN: FileCheck %s < %t.log8 9# CHECK: Entry name inferred: mainCRTStartup10 11--- !COFF12header:13  Machine:         IMAGE_FILE_MACHINE_AMD6414  Characteristics: []15sections:16  - Name:            .text17    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]18    Alignment:       419    SectionData:     B82A000000C320symbols:21  - Name:            .text22    Value:           023    SectionNumber:   124    SimpleType:      IMAGE_SYM_TYPE_NULL25    ComplexType:     IMAGE_SYM_DTYPE_NULL26    StorageClass:    IMAGE_SYM_CLASS_STATIC27    SectionDefinition:28      Length:          629      NumberOfRelocations: 030      NumberOfLinenumbers: 031      CheckSum:        032      Number:          033  - Name:            "ENTRYNAME"34    Value:           035    SectionNumber:   136    SimpleType:      IMAGE_SYM_TYPE_NULL37    ComplexType:     IMAGE_SYM_DTYPE_NULL38    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL39...40