brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 5128687 Raw
52 lines · plain
1# RUN: yaml2obj %s -o %t.obj2# RUN: lld-link /out:%t.exe /subsystem:console %t.obj \3# RUN:   /entry:mainCRTStartup %p/Inputs/library.lib4# RUN: llvm-readobj --coff-imports %t.exe | FileCheck %s5 6# CHECK: Import {7# CHECK:   Name: library.dll8# CHECK:   ImportLookupTableRVA: 0x20289# CHECK:   ImportAddressTableRVA: 0x203010# CHECK:   Symbol: function (0)11# CHECK: }12 13--- !COFF14header:15  Machine:         IMAGE_FILE_MACHINE_ARMNT16  Characteristics: [  ]17sections:18  - Name:            .text19    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_PURGEABLE, IMAGE_SCN_MEM_16BIT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]20    Alignment:       421    SectionData:     40F20000C0F200000068004722    Relocations:23      - VirtualAddress:  024        SymbolName:      __imp_function25        Type:            IMAGE_REL_ARM_MOV32T26symbols:27  - Name:            .text28    Value:           029    SectionNumber:   130    SimpleType:      IMAGE_SYM_TYPE_NULL31    ComplexType:     IMAGE_SYM_DTYPE_NULL32    StorageClass:    IMAGE_SYM_CLASS_STATIC33    SectionDefinition:34      Length:          1235      NumberOfRelocations: 136      NumberOfLinenumbers: 037      CheckSum:        038      Number:          139  - Name:            mainCRTStartup40    Value:           041    SectionNumber:   142    SimpleType:      IMAGE_SYM_TYPE_NULL43    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION44    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL45  - Name:            __imp_function46    Value:           047    SectionNumber:   048    SimpleType:      IMAGE_SYM_TYPE_NULL49    ComplexType:     IMAGE_SYM_DTYPE_NULL50    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL51...52