[Lldb-commits] [lldb] [lldb] Step over non-lldb breakpoints (PR #174348)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 5 06:40:20 PST 2026
================
@@ -1159,6 +1159,40 @@ class StopInfoUnixSignal : public StopInfo {
return false;
}
+ void PerformAction(Event *event_ptr) override {
+ // A signal of SIGTRAP indicates that a break instruction has been hit
+ if (m_value == SIGTRAP) {
----------------
DavidSpickett wrote:
https://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code
```
if (not a sigtrap)
return;
// code that is less indented as a result
```
https://github.com/llvm/llvm-project/pull/174348
More information about the lldb-commits
mailing list