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

Reply via email to