1# REQUIRES: zlib 2 3# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o 4 5## Test that after the compression is done we do not remove the symbol 6## and it is placed into the right section. 7 8# RUN: llvm-objcopy --compress-debug-sections %t.o %t-compressed1.o 9# RUN: llvm-readobj --symbols %t-compressed1.o | FileCheck %s --check-prefixes=CHECK,ZLIB 10 11# RUN: llvm-objcopy --compress-debug-sections=zlib-gnu %t.o %t-compressed2.o 12# RUN: llvm-readobj --symbols %t-compressed2.o | FileCheck %s --check-prefixes=CHECK,ZLIBGNU 13 14# CHECK: Name: .Linfo_string0 15# CHECK-NEXT: Value: 0x0 16# CHECK-NEXT: Size: 0 17# CHECK-NEXT: Binding: Global 18# CHECK-NEXT: Type: None 19# CHECK-NEXT: Other: 0 20# ZLIB-NEXT: Section: .debug_bar 21# ZLIBGNU-NEXT: Section: .zdebug_bar 22