bolt/deps/llvm-18.1.8/lld/test/MachO/invalid/invalid-fat-narch.s

13 lines
283 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
# REQUIRES: x86
# RUN: yaml2obj %s -o %t.o
# RUN: not %lld -o /dev/null %t.o 2>&1 | \
# RUN: FileCheck %s -DFILE=%t.o
# CHECK: error: [[FILE]]: fat_arch struct extends beyond end of file
!fat-mach-o
FatHeader:
magic: 0xCAFEBABE
nfat_arch: 2
FatArchs:
Slices: