diff options
author | Thomas Preud'homme <thomasp@graphcore.ai> | 2021-06-04 09:55:33 +0100 |
---|---|---|
committer | Thomas Preud'homme <thomasp@graphcore.ai> | 2021-06-04 11:23:27 +0100 |
commit | d7e0948242b8b05c1ebc0f46bf7aa37273a1d521 (patch) | |
tree | 538f65af828093b90891f74450f49ddc5114b591 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0a655c62eca878cd5f366c08a4a5fee1b8723ce8 (diff) | |
download | llvm-d7e0948242b8b05c1ebc0f46bf7aa37273a1d521.zip llvm-d7e0948242b8b05c1ebc0f46bf7aa37273a1d521.tar.gz llvm-d7e0948242b8b05c1ebc0f46bf7aa37273a1d521.tar.bz2 |
[test] Fix accidental match in parent_recurse_depth.s
The CHECK-NOT directives in
tools/llvm-dwarfdump/X86/parent_recurse_depth.s can accidentally match
something in the path of the object file created by yaml2obj, for
example:
llvm-project/llvm/test/tools/llvm-dwarfdump/X86/parent_recurse_depth.s:13:12:
error: ONE-NOT: excluded string found in input
^
<stdin>:1:22: note: found here
builds/llvm-projects/mainline/release/test/tools/llvm-dwarfdump/X86/Output/parent_recurse_depth.s.tmp.o: file format elf64-x86-64
^~~~
This commit alleviate this issue by consuming the file name from the
output, forcing all the CHECK-NOT to match what comes after.
Reviewed By: Higuoxing
Differential Revision: https://reviews.llvm.org/D103676
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions