3 # RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
5 ## Test that after the compression is done we do not remove the symbol
6 ## and it is placed into the right section.
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
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
14 # CHECK: Name: .Linfo_string0
15 # CHECK-NEXT: Value: 0x0
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