[Lldb-commits] [lldb] [lldb] Detect a Darwin kernel issue and work around it (PR #81573)

via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 13 10:57:32 PST 2024


================
@@ -79,6 +79,11 @@ class StopInfo : public std::enable_shared_from_this<StopInfo> {
 
   virtual bool IsValidForOperatingSystemThread(Thread &thread) { return true; }
 
+  /// A Continue operation can result in a false stop event
+  /// before any execution has happened in certain cases on Darwin.
+  /// We need to silently continue again time.
----------------
jimingham wrote:

"again time" -> "again one more time"?

Also, this isn't a Darwin specific feature, on any system where the Continue might stall, you could use this.  I'd describe what it does rather than primarily refer to Darwin. 

https://github.com/llvm/llvm-project/pull/81573


More information about the lldb-commits mailing list