[Lldb-commits] [lldb] e97e676 - [lldb/test] Fix TestExpeditedThreadPCs on remote-darwin targets (#201275)

via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 3 08:07:05 PDT 2026


Author: Med Ismail Bennani
Date: 2026-06-03T08:06:59-07:00
New Revision: e97e67681d0d7de9c6ab8b293852068ea5591066

URL: https://github.com/llvm/llvm-project/commit/e97e67681d0d7de9c6ab8b293852068ea5591066
DIFF: https://github.com/llvm/llvm-project/commit/e97e67681d0d7de9c6ab8b293852068ea5591066.diff

LOG: [lldb/test] Fix TestExpeditedThreadPCs on remote-darwin targets (#201275)

Added: 
    

Modified: 
    lldb/test/API/macosx/expedited-thread-pcs/TestExpeditedThreadPCs.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/expedited-thread-pcs/TestExpeditedThreadPCs.py b/lldb/test/API/macosx/expedited-thread-pcs/TestExpeditedThreadPCs.py
index 0611907a34b0d..7416268805460 100644
--- a/lldb/test/API/macosx/expedited-thread-pcs/TestExpeditedThreadPCs.py
+++ b/lldb/test/API/macosx/expedited-thread-pcs/TestExpeditedThreadPCs.py
@@ -34,7 +34,10 @@ def cleanup():
         self.source = "main.cpp"
         self.build()
         (target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
-            self, "break here", lldb.SBFileSpec(self.source, False)
+            self,
+            "break here",
+            lldb.SBFileSpec(self.source, False),
+            extra_images=["foo"],
         )
 
         # verify that libfoo.dylib hasn't loaded yet
@@ -49,6 +52,7 @@ def cleanup():
         thread.StepInto()
 
         # verify that libfoo.dylib has loaded
+        found_libfoo = False
         for m in target.modules:
             if m.GetFileSpec().GetFilename() == "libfoo.dylib":
                 found_libfoo = True


        


More information about the lldb-commits mailing list