mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
053d07b664
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
16 lines
380 B
YAML
16 lines
380 B
YAML
## We have a YAML file describing an invalid data type.
|
|
## Check we are able to produce the invalid binary.
|
|
|
|
# RUN: yaml2obj %s -o %t.o
|
|
|
|
## Check that EI_DATA field is ELFDATANONE(0)
|
|
# RUN: od -b %t.o +5 | FileCheck %s
|
|
# CHECK: 0000005 000
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATANONE
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|