[Lldb-commits] [lldb] [lldb] add stop-at-user-entry option to process launch (PR #67019)
José Lira Junior via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 3 13:52:24 PDT 2023
================
@@ -335,6 +335,48 @@ BreakpointSP Target::GetBreakpointByID(break_id_t break_id) {
return bp_sp;
}
+lldb::BreakpointSP lldb_private::Target::CreateBreakpointAtUserEntry() {
+ TargetSP target_sp = shared_from_this();
----------------
junior-jl wrote:
I removed that line and the use of `target_sp`, hence, these lines also changed:
```cpp
ModuleSP main_module_sp = GetExecutableModule();
BreakpointSP bp_sp = CreateBreakpoint(...)
```
It still works normally and pass the test. Thank you.
https://github.com/llvm/llvm-project/pull/67019
More information about the lldb-commits
mailing list