Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / yaml2obj / COFF / mixed-data.yaml
blob7f23f4de3dff6525aa9d89fe354146562fb7b98c
1 # RUN: not yaml2obj %s -o %t 2>&1 | FileCheck %s
2 # CHECK: error: StructuredData and SectionData can't be used together
4 --- !COFF
5 OptionalHeader:
6   ImageBase:        0x180000000
7   SectionAlignment: 4096
8   FileAlignment:    512
9   DLLCharacteristics: [ ]
10 header:
11   Machine:         IMAGE_FILE_MACHINE_AMD64
12   Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE, IMAGE_FILE_DLL ]
13 sections:
14   - Name:            .rdata
15     Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
16     VirtualAddress:  0x1000
17     VirtualSize:     20
18     SectionData:     55
19     StructuredData:
20         - UInt32: 1
21 symbols: []
22 ...