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
6 # CHECK: Characteristics [
7 # CHECK-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA
8 # CHECK-NEXT: IMAGE_SCN_MEM_READ
10 # CHECK-NEXT: SectionData (
16 Machine: IMAGE_FILE_MACHINE_AMD64
20 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
24 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE ]
28 Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]