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
This commit is contained in:
David Blaikie
2014-03-28 17:04:53 +00:00
parent a9a5129ec1
commit ff9a069a32

View File

@@ -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