[all-commits] [llvm/llvm-project] 4dd3e0: [DebugInfo, CallSites, test] Fix use of undef File...

RoboTux via All-commits all-commits at lists.llvm.org
Mon Apr 5 03:39:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dd3e0feca9295c615f06f9f96f1e7ccdd63bb3d
      https://github.com/llvm/llvm-project/commit/4dd3e0feca9295c615f06f9f96f1e7ccdd63bb3d
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M clang/test/CodeGen/debug-info-extern-call.c

  Log Message:
  -----------
  [DebugInfo, CallSites, test] Fix use of undef FileCheck var

Clang test CodeGen/debug-info-extern-call.c tries to check for the
absence of a sequence of instructions with several CHECK-NOT with one of
those directives using a variable defined in another. However CHECK-NOT
are checked independently so that is using a variable defined in a
pattern that should not occur in the input.

This commit removes the CHECK-NOT for the retained line attribute
definition since the CHECK-NOT on the compile unit will already check
that there is no retained lines.

Reviewed By: djtodoro

Differential Revision: https://reviews.llvm.org/D99830




More information about the All-commits mailing list