This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo, CallSites, test] Fix use of undef FileCheck var
ClosedPublic

Authored by thopre on Apr 3 2021, 12:58 AM.

Details

Summary

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.

Diff Detail

Event Timeline

thopre requested review of this revision.Apr 3 2021, 12:58 AM
thopre created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2021, 12:58 AM
djtodoro accepted this revision.Apr 5 2021, 12:05 AM
This revision is now accepted and ready to land.Apr 5 2021, 12:05 AM
This revision was automatically updated to reflect the committed changes.