brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · cfcd95c Raw
51 lines · plain
1# RUN: yaml2obj %s -o %t.obj2# RUN: lld-link -safeseh:no /out:%t.exe /entry:main %t.obj3# RUN: llvm-objdump -s %t.exe | FileCheck %s4 5# CHECK:      Contents of section .text:6# CHECK-NEXT: 1000 002000007 8# CHECK:      Contents of section .rdata:9# CHECK-NEXT: 2000 0410400010 11--- !COFF12header:13  Machine:         IMAGE_FILE_MACHINE_I38614  Characteristics: []15sections:16  - Name:            .text17    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]18    Alignment:       419    SectionData:     0000000020    Relocations:21      - VirtualAddress:  022        SymbolName:      __imp__main23        Type:            IMAGE_REL_I386_DIR32NB24symbols:25  - Name:            .text26    Value:           027    SectionNumber:   128    SimpleType:      IMAGE_SYM_TYPE_NULL29    ComplexType:     IMAGE_SYM_DTYPE_NULL30    StorageClass:    IMAGE_SYM_CLASS_STATIC31    SectionDefinition:32      Length:          433      NumberOfRelocations: 134      NumberOfLinenumbers: 035      CheckSum:        036      Number:          037      Selection:       IMAGE_COMDAT_SELECT_ANY38  - Name:            _main39    Value:           440    SectionNumber:   141    SimpleType:      IMAGE_SYM_TYPE_NULL42    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION43    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL44  - Name:            __imp__main45    Value:           046    SectionNumber:   047    SimpleType:      IMAGE_SYM_TYPE_NULL48    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION49    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL50...51