1# RUN: yaml2obj %s -o %t.obj 2# RUN: lld-link /out:%t.exe %t.obj /entry:main /subsystem:console 3# RUN: llvm-readobj --file-headers %t.exe | FileCheck %s 4 5# CHECK: LoadConfigTableRVA: 0x2000 6# CHECK: LoadConfigTableSize: 0x70 7 8--- !COFF 9header: 10 Machine: IMAGE_FILE_MACHINE_AMD64 11 Characteristics: [] 12sections: 13 - Name: .text 14 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] 15 Alignment: 4 16 SectionData: B82A000000C3 17 - Name: .rdata 18 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] 19 Alignment: 16 20 SectionData: '70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' 21symbols: 22 - Name: .text 23 Value: 0 24 SectionNumber: 1 25 SimpleType: IMAGE_SYM_TYPE_NULL 26 ComplexType: IMAGE_SYM_DTYPE_NULL 27 StorageClass: IMAGE_SYM_CLASS_STATIC 28 SectionDefinition: 29 Length: 6 30 NumberOfRelocations: 0 31 NumberOfLinenumbers: 0 32 CheckSum: 0 33 Number: 0 34 - Name: main 35 Value: 0 36 SectionNumber: 1 37 SimpleType: IMAGE_SYM_TYPE_NULL 38 ComplexType: IMAGE_SYM_DTYPE_NULL 39 StorageClass: IMAGE_SYM_CLASS_EXTERNAL 40 - Name: .rdata 41 Value: 0 42 SectionNumber: 2 43 SimpleType: IMAGE_SYM_TYPE_NULL 44 ComplexType: IMAGE_SYM_DTYPE_NULL 45 StorageClass: IMAGE_SYM_CLASS_STATIC 46 SectionDefinition: 47 Length: 112 48 NumberOfRelocations: 0 49 NumberOfLinenumbers: 0 50 CheckSum: 0 51 Number: 3 52 - Name: _load_config_used 53 Value: 0 54 SectionNumber: 2 55 SimpleType: IMAGE_SYM_TYPE_NULL 56 ComplexType: IMAGE_SYM_DTYPE_NULL 57 StorageClass: IMAGE_SYM_CLASS_EXTERNAL 58... 59