Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / yaml2obj / COFF / structured-data.yaml
blob687c43de2a796dd45cf388e92b1362b6a844e2e4
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readobj --hex-dump=.rdata %t | FileCheck %s
3 # CHECK:  0x180001000 01000000 02000000 11223344 ffffffff
5 --- !COFF
6 OptionalHeader:
7   ImageBase:        0x180000000
8   SectionAlignment: 4096
9   FileAlignment:    512
10   DLLCharacteristics: [ ]
11 header:
12   Machine:         IMAGE_FILE_MACHINE_AMD64
13   Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE, IMAGE_FILE_DLL ]
14 sections:
15   - Name:            .rdata
16     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
17     VirtualAddress:  0x1000
18     VirtualSize:     20
19     StructuredData:
20         - UInt32: 1
21         - UInt32: 2
22         - Binary: 11223344
23         - UInt32: 0xffffffff
24 symbols: []
25 ...