This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Fix step-avoid-regexp logging
ClosedPublic

Authored by kastiglione on Feb 8 2022, 3:41 PM.

Details

Summary

Ensure step-avoid-regexp logs are emitted in the case where the regex has no
capture groups.

Without this change, the log is printed only if the regex has at least one
capture group.

Another change is to the log message: the first capture group has been removed
from the message. There could be zero capture groups, and there could be two or
more capture groups.

Diff Detail

Event Timeline

kastiglione requested review of this revision.Feb 8 2022, 3:41 PM
kastiglione created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2022, 3:41 PM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 9 2022, 8:35 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2022, 8:35 AM