================ @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits