3bc3983f22
The test case has a check line for the option on a line that includes the string lld surrounded by any characters. This causes failures when said string is in the build path. What the test case presumably means to test is the actual invocation of the LLD linker (i.e. a linker that has that string as a suffix). This patch simply removes the erroneous wildcard after the string.
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"
|