15 lines
623 B
Plaintext
15 lines
623 B
Plaintext
|
// REQUIRES: zlib, clang-driver, amdgpu-registered-target
|
||
|
|
||
|
// 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
|
||
|
|
||
|
// CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}}
|
||
|
// CHECK-DAG: {{".*lld" .* "--compress-debug-sections=zlib"}}
|
||
|
// CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}}
|
||
|
// CHECK: "--compress-debug-sections=zlib"
|