summaryrefslogtreecommitdiff
path: root/test/ELF/strip-debug.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/strip-debug.s')
-rw-r--r--test/ELF/strip-debug.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ELF/strip-debug.s b/test/ELF/strip-debug.s
index 8005cfacee6cd..e5295f10d1ecf 100644
--- a/test/ELF/strip-debug.s
+++ b/test/ELF/strip-debug.s
@@ -1,4 +1,4 @@
-# REQUIRES: x86
+# REQUIRES: x86, zlib
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: ld.lld %t -o %t2 --strip-debug
# RUN: llvm-readobj -sections %t2 | FileCheck %s
@@ -12,3 +12,5 @@
.section .debug_Foo,"",@progbits
.section .zdebug_Bar,"",@progbits
+.ascii "ZLIB"
+.quad 0