================
@@ -155,6 +160,23 @@ void BreakpointResolverScripted::GetDescription(Stream *s)
{
s->Printf("python class = %s", m_class_name.c_str());
}
+std::optional<std::string> BreakpointResolverScripted::GetLocationDescription(
+ lldb::BreakpointLocationSP bp_loc_sp, lldb::DescriptionLevel level) {
+ CreateImplementationIfNeeded(GetBreakpoint());
+ if (m_interface_sp)
+ return m_interface_sp->GetLocationDescription(bp_loc_sp, level);
+ return {};
+}
+
+lldb::BreakpointLocationSP
+BreakpointResolverScripted::WasHit(lldb::StackFrameSP frame_sp,
+ lldb::BreakpointLocationSP bp_loc_sp) {
+ if (m_interface_sp)
+ return m_interface_sp->WasHit(frame_sp, bp_loc_sp);
+
----------------
JDevlieghere wrote:
Nit: `GetLocationDescription` doesn't have a newline here. Let's pick one and
stick with it.
https://github.com/llvm/llvm-project/pull/158128
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits