2022-04-13 04:29:46 +08:00
|
|
|
// REQUIRES: zlib, amdgpu-registered-target
|
2020-09-09 01:45:45 +08:00
|
|
|
|
|
|
|
// RUN: %clang -### -target x86_64-unknown-linux-gnu \
|
|
|
|
// RUN: --offload-arch=gfx906 %s -nogpulib -nogpuinc \
|
|
|
|
// RUN: -ggdb -gz=zlib 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
// RUN: %clang -### -target x86_64-unknown-linux-gnu \
|
|
|
|
// RUN: -fgpu-rdc --offload-arch=gfx906 %s -nogpulib -nogpuinc \
|
|
|
|
// RUN: -ggdb -gz=zlib 2>&1 | FileCheck %s
|
|
|
|
|
2020-09-12 05:56:28 +08:00
|
|
|
// CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}}
|
2020-09-16 01:33:31 +08:00
|
|
|
// CHECK-DAG: {{".*lld" .* "--compress-debug-sections=zlib"}}
|
2020-09-09 01:45:45 +08:00
|
|
|
// CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}}
|
|
|
|
// CHECK: "--compress-debug-sections=zlib"
|