3 # RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
4 # RUN: cp %t.o %t.copy.o
6 # RUN: llvm-objcopy --compress-debug-sections=zlib %t.o %tz.o
7 # RUN: cp %tz.o %tz.copy.o
9 # RUN: llvm-objcopy --decompress-debug-sections %tz.o %t2.o
11 # Using redirects to avoid llvm-objdump from printing the filename.
12 # RUN: llvm-objdump -s --section=.debug_str - < %t.o > %t.txt
13 # RUN: llvm-objdump -s --section=.debug_str - < %t2.o > %t2.txt
15 # RUN: diff %t.txt %t2.txt
17 # RUN: cmp %t.o %t.copy.o
18 # RUN: cmp %tz.o %tz.copy.o