================
@@ -218,6 +218,10 @@ class StopInfo : public 
std::enable_shared_from_this<StopInfo> {
   // to consult this later on.
   virtual bool ShouldStop(Event *event_ptr) { return true; }
 
+  // Shared implementation for when a trap instruction leaves the CPU PC at
+  // the trap instruction instead of just after it.
+  void SkipOverTrapInstruction();
----------------
DuncanMcBain wrote:

In this instance, since I needed to handle things the same way in 
MachException, I chose to put this in the base StopInfo class so that either 
StopInfoUnixSignal or StopInfoMachException can use the same implementation. 
I'll make this clearer in the comment in the base class.

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