mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 13:21:30 +00:00
9e8382e439
The section alignment field was marked optional but not provided a default value: initialize it with 0. While we are here, ensure that the section alignment is plausible. llvm-svn: 263692
15 lines
286 B
Plaintext
15 lines
286 B
Plaintext
# RUN: not yaml2obj %s 2>&1 | FileCheck %s
|
|
|
|
# CHECK: Section alignment is too large
|
|
|
|
---
|
|
header:
|
|
Machine: IMAGE_FILE_MACHINE_AMD64
|
|
Characteristics: []
|
|
sections:
|
|
- Name: '.text'
|
|
Characteristics: []
|
|
SectionData: 00
|
|
Alignment: 16384
|
|
symbols:
|