[Lldb-commits] [lldb] [lldb] Add SB API to make a breakpoint a hardware breakpoint (PR #146602)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 2 09:53:46 PDT 2025
jimingham wrote:
There's one more tricky bit we need to handle here. What happens if I have a breakpoint that has more locations than we have hardware resources, and you do `SBBreakpoint.SetIsHardware(True)`? Do we set the first `n` breakpoints and stop there? Do we back out and restore the breakpoint to software?
Maybe we need an actual error and not a bool to explain what went on there?
https://github.com/llvm/llvm-project/pull/146602
More information about the lldb-commits
mailing list