xref: /llvm-project/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-invalid-format.test (revision 45ae553109af8e1e71ae5ddf3d92fc1bf531aea1)
1# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
2# RUN: not llvm-objcopy --compress-debug-sections=zlib-fake %t.o 2>&1 | FileCheck %s
3# RUN: not llvm-objcopy --compress-debug-sections=zlib-gnu %t.o 2>&1 | FileCheck %s --check-prefix=GNU
4
5# CHECK: invalid or unsupported --compress-debug-sections format: zlib-fake
6# GNU:   invalid or unsupported --compress-debug-sections format: zlib-gnu
7