[all-commits] [llvm/llvm-project] d7e094: [test] Fix accidental match in parent_recurse_depth.s

RoboTux via All-commits all-commits at lists.llvm.org
Fri Jun 4 03:23:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7e0948242b8b05c1ebc0f46bf7aa37273a1d521
      https://github.com/llvm/llvm-project/commit/d7e0948242b8b05c1ebc0f46bf7aa37273a1d521
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2021-06-04 (Fri, 04 Jun 2021)

  Changed paths:
    M llvm/test/tools/llvm-dwarfdump/X86/parent_recurse_depth.s

  Log Message:
  -----------
  [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




More information about the All-commits mailing list