1*b6e1fd76SFangrui Song# REQUIRES: zlib 2*b6e1fd76SFangrui Song# RUN: yaml2obj %s -o %t 3*b6e1fd76SFangrui Song# RUN: not llvm-objcopy --decompress-debug-sections %t /dev/null 2>&1 | FileCheck %s -DFILE=%t 4*b6e1fd76SFangrui Song 5*b6e1fd76SFangrui Song# CHECK: error: '[[FILE]]': --decompress-debug-sections: ch_type (3) of section '.debug_info' is unsupported 6*b6e1fd76SFangrui Song# CHECK-EMPTY: 7*b6e1fd76SFangrui Song 8*b6e1fd76SFangrui Song--- !ELF 9*b6e1fd76SFangrui SongFileHeader: 10*b6e1fd76SFangrui Song Class: ELFCLASS64 11*b6e1fd76SFangrui Song Data: ELFDATA2LSB 12*b6e1fd76SFangrui Song Type: ET_REL 13*b6e1fd76SFangrui Song Machine: EM_X86_64 14*b6e1fd76SFangrui SongSections: 15*b6e1fd76SFangrui Song - Name: .debug_info 16*b6e1fd76SFangrui Song Type: SHT_PROGBITS 17*b6e1fd76SFangrui Song Flags: [ SHF_COMPRESSED ] 18*b6e1fd76SFangrui Song Content: 030000000000000004000000000000000000000000000000789c6360 19*b6e1fd76SFangrui Song AddressAlign: 8 20*b6e1fd76SFangrui Song - Name: .debug_str 21*b6e1fd76SFangrui Song Type: SHT_PROGBITS 22*b6e1fd76SFangrui Song Flags: [ SHF_COMPRESSED ] 23*b6e1fd76SFangrui Song Content: 030000000000000004000000000000000000000000000000789c6360 24*b6e1fd76SFangrui Song AddressAlign: 8 25