2020-09-09 01:45:45 +08:00
|
|
|
// REQUIRES: zlib, amdgpu-registered-target
|
|
|
|
|
|
|
|
// RUN: %clang -### -target amdgcn-amd-amdhsa -gz=none -x assembler %s 2>&1 | FileCheck -check-prefix CHECK-OPT_GZ_EQ_NONE %s
|
|
|
|
// RUN: %clang -### -target amdgcn-amd-amdhsa -gz=none %s 2>&1 | FileCheck -check-prefix CHECK-OPT_GZ_EQ_NONE %s
|
2020-09-12 08:44:49 +08:00
|
|
|
// CHECK-OPT_GZ_EQ_NONE: {{.* "-cc1(as)?".* "--compress-debug-sections=none"}}
|
2020-09-09 01:45:45 +08:00
|
|
|
// CHECK-OPT_GZ_EQ_NONE: "--compress-debug-sections=none"
|
|
|
|
|
|
|
|
// RUN: %clang -### -target amdgcn-amd-amdhsa -gz=zlib -x assembler %s 2>&1 | FileCheck -check-prefix CHECK-OPT_GZ_EQ_ZLIB %s
|
|
|
|
// RUN: %clang -### -target amdgcn-amd-amdhsa -gz=zlib %s 2>&1 | FileCheck -check-prefix CHECK-OPT_GZ_EQ_ZLIB %s
|
2020-09-12 08:44:49 +08:00
|
|
|
// CHECK-OPT_GZ_EQ_ZLIB: {{.* "-cc1(as)?".* "--compress-debug-sections=zlib"}}
|
2020-09-09 01:45:45 +08:00
|
|
|
// CHECK-OPT_GZ_EQ_ZLIB: "--compress-debug-sections=zlib"
|