brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · 54dd127 Raw
82 lines · yaml
1# Check that we print the external symbol "func", even though the pdata2# relocation points at the '$LN4' symbol.3 4# RUN: yaml2obj %s -o %t.obj5# RUN: llvm-readobj --unwind %t.obj | FileCheck %s6 7# CHECK: Function: func (0x0)8 9--- !COFF10header:11  Machine:         IMAGE_FILE_MACHINE_ARM6412  Characteristics: [  ]13sections:14  - Name:            '.text$mn'15    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]16    Alignment:       817    SectionData:     FE0F1FF8FF0301D1E003009100000094FF030191FE0741F8C0035FD618    Relocations:19      - VirtualAddress:  1220        SymbolName:      other21        Type:            IMAGE_REL_ARM64_BRANCH2622  - Name:            .pdata23    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_LNK_COMDAT, IMAGE_SCN_MEM_READ ]24    Alignment:       425    SectionData:     000000001D00A00226    Relocations:27      - VirtualAddress:  028        SymbolName:      '$LN4'29        Type:            IMAGE_REL_ARM64_ADDR32NB30symbols:31  - Name:            '.text$mn'32    Value:           033    SectionNumber:   134    SimpleType:      IMAGE_SYM_TYPE_NULL35    ComplexType:     IMAGE_SYM_DTYPE_NULL36    StorageClass:    IMAGE_SYM_CLASS_STATIC37    SectionDefinition:38      Length:          2839      NumberOfRelocations: 140      NumberOfLinenumbers: 041      CheckSum:        101515099142      Number:          043      Selection:       IMAGE_COMDAT_SELECT_NODUPLICATES44  - Name:            other45    Value:           046    SectionNumber:   047    SimpleType:      IMAGE_SYM_TYPE_NULL48    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION49    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL50  - Name:            func51    Value:           052    SectionNumber:   153    SimpleType:      IMAGE_SYM_TYPE_NULL54    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION55    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL56  - Name:            '$LN4'57    Value:           058    SectionNumber:   159    SimpleType:      IMAGE_SYM_TYPE_NULL60    ComplexType:     IMAGE_SYM_DTYPE_NULL61    StorageClass:    IMAGE_SYM_CLASS_LABEL62  - Name:            .pdata63    Value:           064    SectionNumber:   265    SimpleType:      IMAGE_SYM_TYPE_NULL66    ComplexType:     IMAGE_SYM_DTYPE_NULL67    StorageClass:    IMAGE_SYM_CLASS_STATIC68    SectionDefinition:69      Length:          870      NumberOfRelocations: 171      NumberOfLinenumbers: 072      CheckSum:        379966733573      Number:          274      Selection:       IMAGE_COMDAT_SELECT_ASSOCIATIVE75  - Name:            '$pdata$func'76    Value:           077    SectionNumber:   278    SimpleType:      IMAGE_SYM_TYPE_NULL79    ComplexType:     IMAGE_SYM_DTYPE_NULL80    StorageClass:    IMAGE_SYM_CLASS_STATIC81...82