brintos

brintos / llvm-project-archived public Read only

0
0
Text · 984 B · 8860aff Raw
35 lines · plain
1# RUN: yaml2obj %s -o %t.obj2# RUN: env LLD_IN_TEST=1 not lld-link %t.obj 2>&1 | FileCheck %s3 4# CHECK: foo should not refer to special section -105 6--- !COFF7header:8  Machine:         IMAGE_FILE_MACHINE_I3869  Characteristics: []10sections:11  - Name:            .text12    Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]13    Alignment:       414    SectionData:     B82A000000C315symbols:16  - Name:            .text17    Value:           018    SectionNumber:   119    SimpleType:      IMAGE_SYM_TYPE_NULL20    ComplexType:     IMAGE_SYM_DTYPE_NULL21    StorageClass:    IMAGE_SYM_CLASS_STATIC22    SectionDefinition:23      Length:          624      NumberOfRelocations: 025      NumberOfLinenumbers: 026      CheckSum:        027      Number:          028  - Name:            foo29    Value:           030    SectionNumber:   -1031    SimpleType:      IMAGE_SYM_TYPE_NULL32    ComplexType:     IMAGE_SYM_DTYPE_NULL33    StorageClass:    IMAGE_SYM_CLASS_EXTERNAL34...35