diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp --- a/lldb/source/Target/ThreadPlanStepInRange.cpp +++ b/lldb/source/Target/ThreadPlanStepInRange.cpp @@ -340,17 +340,13 @@ sc.GetFunctionName(Mangled::ePreferDemangledWithoutArguments) .GetCString(); if (frame_function_name) { - llvm::SmallVector matches; - bool return_value = - avoid_regexp_to_use->Execute(frame_function_name, &matches); - if (return_value && matches.size() > 1) { - std::string match = matches[1].str(); + bool return_value = avoid_regexp_to_use->Execute(frame_function_name); + if (return_value) { LLDB_LOGF(GetLog(LLDBLog::Step), - "Stepping out of function \"%s\" because it matches " - "the avoid regexp \"%s\" - match substring: \"%s\".", + "Stepping out of function \"%s\" because it matches the " + "avoid regexp \"%s\".", frame_function_name, - avoid_regexp_to_use->GetText().str().c_str(), - match.c_str()); + avoid_regexp_to_use->GetText().str().c_str()); } return return_value; }