bolt/deps/llvm-18.1.8/clang/test/Driver/compress-unavailable.s

11 lines
569 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
// XFAIL: target={{.*}}-aix{{.*}}
// RUN: %clang -### -fintegrated-as -gz=none -c %s 2>&1 | FileCheck %s --check-prefix=NOWARN
// NOWARN-NOT: warning: cannot compress debug sections (zlib not enabled)
// RUN: %if !zlib %{ %clang -### -fintegrated-as -gz -c %s 2>&1 | FileCheck %s --check-prefix=WARN-ZLIB %}
// WARN-ZLIB: warning: cannot compress debug sections (zlib not enabled)
// RUN: %if !zstd %{ %clang -### -fintegrated-as -gz=zstd -c %s 2>&1 | FileCheck %s --check-prefix=WARN-ZSTD %}
// WARN-ZSTD: warning: cannot compress debug sections (zstd not enabled)