xref: /llvm-project-15.0.7/lld/test/ELF/compressed-input-err-zlib.s (revision 643dfd97)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# UNSUPPORTED: zlib
2# RUN: yaml2obj %s -o %t.o
3# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
4
5# CHECK: error: {{.*}}.o:(.debug_info) is compressed with ELFCOMPRESS_ZLIB, but lld is not built with zlib support
6
7--- !ELF
8FileHeader:
9  Class:   ELFCLASS64
10  Data:    ELFDATA2LSB
11  Type:    ET_REL
12  Machine: EM_X86_64
13Sections:
14  - Type:         SHT_PROGBITS
15    Name:         .debug_info
16    Flags:        [ SHF_COMPRESSED ]
17    AddressAlign: 8
18    Content:      "010000000000000000000000000000000100000000000000789c030000000001"
19

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026