summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/compress-debug-sections-default-gnu.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/compress-debug-sections-default-gnu.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/compress-debug-sections-default-gnu.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objcopy/compress-debug-sections-default-gnu.test b/llvm/test/tools/llvm-objcopy/compress-debug-sections-default-gnu.test
new file mode 100644
index 00000000000..9db3d3b7f9c
--- /dev/null
+++ b/llvm/test/tools/llvm-objcopy/compress-debug-sections-default-gnu.test
@@ -0,0 +1,9 @@
+# REQUIRES: zlib
+
+# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
+# RUN: llvm-objcopy --compress-debug-sections --compress-debug-sections=zlib-gnu %t.o %t-compressed.o
+# RUN: llvm-objdump -s %t-compressed.o | FileCheck %s
+
+# CHECK: .zdebug_foo:
+# CHECK: ZLIB
+
OpenPOWER on IntegriCloud