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

Reply via email to