• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %s -o %t.obj
2# RUN: lld-link /out:%t.exe %t.obj /entry:__ImageBase /subsystem:console
3# RUN: llvm-objdump -s %t.exe | FileCheck %s
4
5# CHECK: Contents of section .rdata:
6# CHECK-NEXT: 01000000 00000000 00000000 00000000
7# CHECK-NEXT: 02
8
9--- !COFF
10header:
11  Machine:         IMAGE_FILE_MACHINE_AMD64
12  Characteristics: []
13sections:
14  - Name:            .rdata
15    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
16    SectionData:     01
17  - Name:            .rdata
18    Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
19    SectionData:     02
20symbols:
21...
22