Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / yaml2obj / COFF / invalid-raw-data.yaml
blob1691d4a85dfa8b7f013e4a576d9f081a003d28b3
1 # RUN: not yaml2obj %s -o %t 2>&1 | FileCheck %s
2 # CHECK: YAML:14:5: error: StructuredData and SizeOfRawData 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_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
16     VirtualAddress:  0x1000
17     VirtualSize:     20
18     SizeOfRawData:   4
19     StructuredData:
20         - UInt32: 1
21 symbols: []
22 ...