[lldb] Add SBBreakpointLocation::SetCallback
authorLaura Chaparro-Gutierrez <lauralcg@google.com>
Mon, 12 Sep 2022 15:39:57 +0000 (15:39 +0000)
committerAndy Yankovsky <weratt@gmail.com>
Mon, 12 Sep 2022 17:44:02 +0000 (17:44 +0000)
commit6f5d109fca23056dd74d673d2e3439ece22c80b4
tree087ef6d9bf832f24efda62ffbf735012d586601a
parent38ffa2bb963714cd117b6d4534d328fa6a0fb875
[lldb] Add SBBreakpointLocation::SetCallback

* Include SetCallback in SBBreakpointLocation, similar as in SBBreakpoint.
* Add test_breakpoint_location_callback test as part of TestMultithreaded.

Reviewed By: werat, JDevlieghere

Differential Revision: https://reviews.llvm.org/D133689

Co-authored-by: Andy Yankovsky <weratt@gmail.com>
lldb/include/lldb/API/SBBreakpointLocation.h
lldb/source/API/SBBreakpointLocation.cpp
lldb/test/API/api/multithreaded/TestMultithreaded.py
lldb/test/API/api/multithreaded/test_breakpoint_location_callback.cpp.template [new file with mode: 0644]