Files
clang-p2996/lld/test/ELF/compressed-debug-input-err.s
George Rimar ea5d3f23e0 [ELF] - Fix BB. 'Filecheck' -> 'FileCheck'.
llvm-svn: 337254
2018-07-17 09:10:16 +00:00

12 lines
394 B
ArmAsm

# REQUIRES: zlib, x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: not ld.lld %t.o -o %t.so -shared 2>&1 | FileCheck %s
## Check we are able to report zlib decompressor errors.
# CHECK: error: {{.*}}.o:(.zdebug_str): decompress failed: zlib error: Z_DATA_ERROR
.section .zdebug_str,"MS",@progbits,1
.ascii "ZLIB"
.byte 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1