diff options
Diffstat (limited to 'source/Target/ThreadPlanStepInRange.cpp')
-rw-r--r-- | source/Target/ThreadPlanStepInRange.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/source/Target/ThreadPlanStepInRange.cpp b/source/Target/ThreadPlanStepInRange.cpp index 8f9889a9d68c..2065fa55fa6a 100644 --- a/source/Target/ThreadPlanStepInRange.cpp +++ b/source/Target/ThreadPlanStepInRange.cpp @@ -1,9 +1,8 @@ //===-- ThreadPlanStepInRange.cpp -------------------------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -29,10 +28,8 @@ using namespace lldb_private; uint32_t ThreadPlanStepInRange::s_default_flag_values = ThreadPlanShouldStopHere::eStepInAvoidNoDebug; -//---------------------------------------------------------------------- // ThreadPlanStepInRange: Step through a stack range, either stepping over or // into based on the value of \a type. -//---------------------------------------------------------------------- ThreadPlanStepInRange::ThreadPlanStepInRange( Thread &thread, const AddressRange &range, @@ -315,10 +312,10 @@ bool ThreadPlanStepInRange::ShouldStop(Event *event_ptr) { void ThreadPlanStepInRange::SetAvoidRegexp(const char *name) { auto name_ref = llvm::StringRef::withNullAsEmpty(name); - if (!m_avoid_regexp_ap) - m_avoid_regexp_ap.reset(new RegularExpression(name_ref)); + if (!m_avoid_regexp_up) + m_avoid_regexp_up.reset(new RegularExpression(name_ref)); - m_avoid_regexp_ap->Compile(name_ref); + m_avoid_regexp_up->Compile(name_ref); } void ThreadPlanStepInRange::SetDefaultFlagValue(uint32_t new_value) { @@ -351,7 +348,7 @@ bool ThreadPlanStepInRange::FrameMatchesAvoidCriteria() { if (libraries_say_avoid) return true; - const RegularExpression *avoid_regexp_to_use = m_avoid_regexp_ap.get(); + const RegularExpression *avoid_regexp_to_use = m_avoid_regexp_up.get(); if (avoid_regexp_to_use == nullptr) avoid_regexp_to_use = GetThread().GetSymbolsToAvoidRegexp(); |