diff options
| author | David Blaikie <dblaikie@gmail.com> | 2014-03-31 23:29:38 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2014-03-31 23:29:38 +0000 |
| commit | 24bbfed22185c92ca00c9f39a8bdb5214d90589c (patch) | |
| tree | 0aeb93aae86fa72b5aa5c2f1ae647be046791aa0 /clang/test/Driver/compress.c | |
| parent | 86b3064f2bfb111121f740c71e2c569f0683ca96 (diff) | |
| download | bcm5719-llvm-24bbfed22185c92ca00c9f39a8bdb5214d90589c.tar.gz bcm5719-llvm-24bbfed22185c92ca00c9f39a8bdb5214d90589c.zip | |
Warn when requesting compress-debug-sections and zlib is not available
Another shot in the dark, since I do have zlib installed. Will be
watching the bots for fallout.
llvm-svn: 205265
Diffstat (limited to 'clang/test/Driver/compress.c')
| -rw-r--r-- | clang/test/Driver/compress.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/compress.c b/clang/test/Driver/compress.c new file mode 100644 index 00000000000..dcc443e273a --- /dev/null +++ b/clang/test/Driver/compress.c @@ -0,0 +1,4 @@ +// RUN: %clang -c %s -Wa,--compress-debug-sections 2>&1 | FileCheck %s +// REQUIRES: nozlib + +// CHECK: warning: cannot compress debug sections (zlib not installed) |

