Issue |
133577
|
Summary |
[clang][test] clang/test/Driver/amdgpu-toolchain.c weak regexp causes false negatives
|
Labels |
clang
|
Assignees |
|
Reporter |
pawosm-arm
|
The following check in the `amdgpu-toolchain.c` file causes false negatives:
```
// RELO-NOT: -shared
```
The problem occurs when `-shared` is a part of the build directory name, e.g. `build-shared-llvm-project-debug`, see:
```
clang/test/Driver/amdgpu-toolchain.c:36:14: error: RELO-NOT: excluded string found in input
// RELO-NOT: -shared
^
<stdin>:4:74: note: found here
InstalledDir: ~/upstream/build-shared-llvm-project-debug/bin
^~~~~~~
Input file: <stdin>
Check file: clang/test/Driver/amdgpu-toolchain.c
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs