summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-28 17:04:53 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-28 17:04:53 +0000
commitff9a069a32b9f4469cf94e8f49ac401dc1e3bf6d (patch)
tree56d749ace3ee4d659744f66cc5a30b04132d2f0b /llvm/test
parenta9a5129ec13911abd3a38fb3d2c6118fe0041a6b (diff)
downloadbcm5719-llvm-ff9a069a32b9f4469cf94e8f49ac401dc1e3bf6d.tar.gz
bcm5719-llvm-ff9a069a32b9f4469cf94e8f49ac401dc1e3bf6d.zip
Only test compression when linked with zlib.
I'll implement error handling and a negative test in both llvm-mc and Clang soon. llvm-svn: 205016
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/ELF/compression.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/ELF/compression.s b/llvm/test/MC/ELF/compression.s
index 0293a3c9c57..b5ba2624f8a 100644
--- a/llvm/test/MC/ELF/compression.s
+++ b/llvm/test/MC/ELF/compression.s
@@ -1,5 +1,7 @@
// RUN: llvm-mc -filetype=obj -compress-debug-sections -triple x86_64-pc-linux-gnu %s -o - | llvm-objdump -s - | FileCheck %s
+// REQUIRES: zlib
+
// CHECK: Contents of section .zdebug_line:
// Check for the 'ZLIB' file magic at the start of the section
// CHECK-NEXT: ZLIB
OpenPOWER on IntegriCloud