16 lines · plain
1# REQUIRES: x862# UNSUPPORTED: zlib3 4# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o5# RUN: ld.lld %t.o --compress-debug-sections=zlib --compress-debug-sections=none -o /dev/null 2>&1 | count 06# RUN: not ld.lld %t.o --compress-debug-sections=zlib -o /dev/null 2>&1 | \7# RUN: FileCheck %s --implicit-check-not=error:8# RUN: not ld.lld %t.o --compress-sections=foo=zlib -o /dev/null 2>&1 | \9# RUN: FileCheck %s --check-prefix=CHECK2 --implicit-check-not=error:10 11# CHECK: error: --compress-debug-sections: LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at build time12# CHECK2: error: --compress-sections: LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at build time13 14.globl _start15_start:16