| 1 |
// XFAIL: target={{.*}}-aix{{.*}} |
| 2 |
|
| 3 |
// RUN: %clang -### -fintegrated-as -gz=none -c %s 2>&1 | FileCheck %s --check-prefix=NOWARN |
| 4 |
// NOWARN-NOT: warning: cannot compress debug sections (zlib not enabled) |
| 5 |
|
| 6 |
// RUN: %if !zlib %{ %clang -### -fintegrated-as -gz -c %s 2>&1 | FileCheck %s --check-prefix=WARN-ZLIB %} |
| 7 |
// WARN-ZLIB: warning: cannot compress debug sections (zlib not enabled) |
| 8 |
|
| 9 |
// RUN: %if !zstd %{ %clang -### -fintegrated-as -gz=zstd -c %s 2>&1 | FileCheck %s --check-prefix=WARN-ZSTD %} |
| 10 |
// WARN-ZSTD: warning: cannot compress debug sections (zstd not enabled) |