[Lldb-commits] [lldb] [lldb] Support specifying a language for breakpoint conditions (PR #147603)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 9 02:51:08 PDT 2025
================
@@ -173,7 +173,7 @@ const char *SBBreakpointLocation::GetCondition() {
std::lock_guard<std::recursive_mutex> guard(
loc_sp->GetTarget().GetAPIMutex());
- return ConstString(loc_sp->GetConditionText()).GetCString();
+ return ConstString(loc_sp->GetCondition().GetText()).GetCString();
----------------
Michael137 wrote:
I know this code was like this before but why do we construct an intermediate `ConstString` here? Should we remove it?
https://github.com/llvm/llvm-project/pull/147603
More information about the lldb-commits
mailing list