mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
ba0d0e1663
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263692 91177308-0d34-0410-b5e6-96231b3b80d8
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:
|