brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.7 KiB · 4995268 Raw
88 lines · plain
1# REQUIRES: x862# RUN: yaml2obj %s -o %t.obj3# RUN: lld-link /out:%t.exe /entry:main %t.obj %t.obj4# RUN: llvm-objdump -d %t.exe | FileCheck %s5 6# Operands of B8 (MOV EAX) are common symbols7# CHECK: 1000: b8 00 20 00 408# CHECK: 1005: b8 04 20 00 409# CHECK: 100a: b8 20 20 00 4010# CHECK: 100f: b8 60 20 00 4011# CHECK: 1014: b8 70 20 00 4012 13--- !COFF14header:15  Machine:         IMAGE_FILE_MACHINE_AMD6416  Characteristics: []17sections:18  - Name:            .text19    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]20    Alignment:       421    SectionData:     b800000000b800000000b800000000b800000000b80000000022    Relocations:23      - VirtualAddress:  124        SymbolName:      bssdata425        Type:            IMAGE_REL_AMD64_ADDR3226      - VirtualAddress:  627        SymbolName:      bsspad128        Type:            IMAGE_REL_AMD64_ADDR3229      - VirtualAddress:  1130        SymbolName:      bssdata6431        Type:            IMAGE_REL_AMD64_ADDR3232      - VirtualAddress:  1633        SymbolName:      bsspad234        Type:            IMAGE_REL_AMD64_ADDR3235      - VirtualAddress:  2136        SymbolName:      bssdata1637        Type:            IMAGE_REL_AMD64_ADDR3238symbols:39  - Name:            .text40    Value:           041    SectionNumber:   142    SimpleType:      IMAGE_SYM_TYPE_NULL43    ComplexType:     IMAGE_SYM_DTYPE_NULL44    StorageClass:    IMAGE_SYM_CLASS_STATIC45    SectionDefinition:46      Length:          047      NumberOfRelocations: 548      NumberOfLinenumbers: 049      CheckSum:        050      Number:          051  - Name:            main52    Value:           053    SectionNumber:   154    SimpleType:      IMAGE_SYM_TYPE_NULL55    ComplexType:     IMAGE_SYM_DTYPE_FUNCTION56    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL57  - Name:            bssdata458    Value:           459    SectionNumber:   060    SimpleType:      IMAGE_SYM_TYPE_NULL61    ComplexType:     IMAGE_SYM_DTYPE_NULL62    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL63  - Name:            bsspad164    Value:           165    SectionNumber:   066    SimpleType:      IMAGE_SYM_TYPE_NULL67    ComplexType:     IMAGE_SYM_DTYPE_NULL68    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL69  - Name:            bssdata6470    Value:           6471    SectionNumber:   072    SimpleType:      IMAGE_SYM_TYPE_NULL73    ComplexType:     IMAGE_SYM_DTYPE_NULL74    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL75  - Name:            bsspad276    Value:           177    SectionNumber:   078    SimpleType:      IMAGE_SYM_TYPE_NULL79    ComplexType:     IMAGE_SYM_DTYPE_NULL80    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL81  - Name:            bssdata1682    Value:           1583    SectionNumber:   084    SimpleType:      IMAGE_SYM_TYPE_NULL85    ComplexType:     IMAGE_SYM_DTYPE_NULL86    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL87...88