Files
clang-p2996/llvm/test/tools/yaml2obj/COFF/invalid-alignment.yaml
Fangrui Song 63f0f54c89 [yaml2obj][test] Move tests to binary format specific subdirectories
Create COFF/, ELF/, and Minidump and move tests there.

Also

* Rename `*.test` to `*.yaml`
* For yaml2obj RUN lines, use `-o %t` instead of `> %t` for consistency.
  We still have tests that check stdout is the default output, e.g.
  multi-doc.test
* Update tests to consistently use `##` for comments.
  `#` is for RUN and CHECK lines.
* Merge symboless-relocation.yaml and invalid-symboless-relocation.yaml to ELF/relocation-implicit-symbol-index.test

Reviewed By: grimar, jhenderson

Differential Revision: https://reviews.llvm.org/D70264
2019-11-18 09:06:14 -08:00

15 lines
303 B
YAML

# RUN: not yaml2obj %s 2>&1 | FileCheck %s
## CHECK: error: section alignment is too large
--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
sections:
- Name: '.text'
Characteristics: []
SectionData: 00
Alignment: 16384
symbols: []