34 lines · plain
1# REQUIRES: zlib2# RUN: yaml2obj --docnum=1 %s -o %t1.o3# RUN: not llvm-dwp %t1.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR14# RUN: yaml2obj --docnum=2 %s -o %t2.o5# RUN: not llvm-dwp %t2.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR26 7# ERR1: error: failure while decompressing compressed section: '.debug_info.dwo', corrupted compressed section header8# ERR2: error: failure while decompressing compressed section: '.debug_info.dwo', zlib error: Z_DATA_ERROR9 10--- !ELF11FileHeader:12 Class: ELFCLASS6413 Data: ELFDATA2LSB14 Type: ET_REL15 Machine: EM_X86_6416Sections:17 - Name: .debug_info.dwo18 Type: SHT_PROGBITS19 Flags: [ SHF_COMPRESSED ]20 AddressAlign: 821 22--- !ELF23FileHeader:24 Class: ELFCLASS6425 Data: ELFDATA2LSB26 Type: ET_REL27 Machine: EM_X86_6428Sections:29 - Name: .debug_info.dwo30 Type: SHT_PROGBITS31 Flags: [ SHF_COMPRESSED ]32 AddressAlign: 833 Content: "010000000000000004000000000000000100000000000000ffff"34