[Lldb-commits] [lldb] [lldb-dap] persistent assembly breakpoints (PR #148061)
Ely Ronnen via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 14 12:11:21 PDT 2025
================
@@ -737,6 +738,11 @@ class LLDB_API SBTarget {
lldb::SBBreakpoint BreakpointCreateBySBAddress(SBAddress &address);
+ lldb::SBBreakpoint
+ BreakpointCreateByFileAddress(const SBFileSpec &file_spec, addr_t file_addr,
+ addr_t offset = 0,
+ addr_t instructions_offset = 0);
----------------
eronnen wrote:
@labath Yes, the intention is to set a breakpoint in a virtual address that relates to the file address in a given module.
A function like this already exists in `main` in `Target.h` ([CreateAddressInModuleBreakpoint](https://github.com/llvm/llvm-project/blob/main/lldb/include/lldb/Target/Target.h#L727C22-L727C53)) although not exported in the public API.
https://github.com/llvm/llvm-project/pull/148061
More information about the lldb-commits
mailing list