brintos

brintos / llvm-project-archived public Read only

0
0
Text · 657 B · df1a446 Raw
20 lines · plain
1# RUN: yaml2obj %s -o %t.o2 3# RUN: not llvm-objcopy -O xyz %t.o %t.2.o 2>&1 \4# RUN:   | FileCheck %s --check-prefix=BAD-OUTPUT-FORMAT5 6# FreeBSD has some special output format parsing that looks up the name without7# the trailing "-freebsd". Make sure we include the full output format name.8# RUN: not llvm-objcopy -O xyz-freebsd %t.o %t.2.o 2>&1 \9# RUN:   | FileCheck %s --check-prefix=BAD-OUTPUT-FORMAT-BSD10 11!ELF12FileHeader:13  Class:           ELFCLASS3214  Data:            ELFDATA2LSB15  Type:            ET_EXEC16  Machine:         EM_38617 18# BAD-OUTPUT-FORMAT: invalid output format: 'xyz'19# BAD-OUTPUT-FORMAT-BSD: invalid output format: 'xyz-freebsd'20