1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Object/Inputs/macho-invalid-fat-arch-size.yaml
Steven Wu 7a47cbea30 [Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML
Summary:
Rewrite one of the invalid macho test input file with YAML file. The
original invalid macho is breaking our internal test infrastusture
because it is too broken to be copy around.

Need to relax an assertion in the YAML/MachoEmitter to allow yaml2obj to
write an invalid object like this.

rdar://problem/56879982

Reviewers: beanz, mtrent

Reviewed By: beanz

Subscribers: hiraditya, jkorous, dexonsmith, ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69856
2019-11-06 11:26:25 -08:00

13 lines
265 B
YAML

--- !fat-mach-o
FatHeader:
magic: 0xCAFEBABE
nfat_arch: 1
FatArchs:
- cputype: 0x00000007
cpusubtype: 0x00000003
offset: 0x000000000000020
size: 32
align: 2
Slices:
...