[all-commits] [llvm/llvm-project] 02def0: [lldb] Fix step-avoid-regexp logging

Dave Lee via All-commits all-commits at lists.llvm.org
Wed Mar 9 08:35:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02def06e60369d616456251cb0f8e60115287128
      https://github.com/llvm/llvm-project/commit/02def06e60369d616456251cb0f8e60115287128
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M lldb/source/Target/ThreadPlanStepInRange.cpp

  Log Message:
  -----------
  [lldb] Fix step-avoid-regexp logging

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.

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




More information about the All-commits mailing list