1# RUN: yaml2obj %s -o %t.obj 2# RUN: lld-link /out:%t.dll /entry:__ImageBase /dll %t.obj 3# RUN: llvm-readobj --sections --section-data %t.dll | FileCheck %s 4 5# CHECK: Name: .CRT 6# CHECK: Characteristics [ 7# CHECK-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA 8# CHECK-NEXT: IMAGE_SCN_MEM_READ 9# CHECK-NEXT: ] 10# CHECK-NEXT: SectionData ( 11# CHECK-NEXT: 010203 12# CHECK-NEXT: ) 13 14--- !COFF 15header: 16 Machine: IMAGE_FILE_MACHINE_AMD64 17 Characteristics: [ ] 18sections: 19 - Name: .CRT$XCZ 20 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] 21 Alignment: 1 22 SectionData: 03 23 - Name: .CRT$XCU 24 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ] 25 Alignment: 1 26 SectionData: 02 27 - Name: .CRT$XCA 28 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ] 29 Alignment: 1 30 SectionData: 01 31symbols: 32... 33