1# REQUIRES: zlib, x86 2 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 4# RUN: not ld.lld %t.o -o /dev/null -shared 2>&1 | FileCheck %s 5 6## Check we are able to report zlib uncompress errors. 7# CHECK: error: {{.*}}.o:(.debug_str): uncompress failed: zlib error: Z_DATA_ERROR 8 9.section .zdebug_str,"MS",@progbits,1 10 .ascii "ZLIB" 11 .byte 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1 12