[Lldb-commits] [lldb] 8872678 - [lldb][macos] Add trace prints to TestRosetta to debug CI (#192771)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 17 23:38:05 PDT 2026


Author: Jason Molenda
Date: 2026-04-17T23:38:01-07:00
New Revision: 8872678ae766ed41dd5db2854bc525085e802d34

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

LOG: [lldb][macos] Add trace prints to TestRosetta to debug CI (#192771)

Added: 
    

Modified: 
    lldb/test/API/macosx/rosetta/TestRosetta.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/rosetta/TestRosetta.py b/lldb/test/API/macosx/rosetta/TestRosetta.py
index a812f558a8fc9..296885558b6d8 100644
--- a/lldb/test/API/macosx/rosetta/TestRosetta.py
+++ b/lldb/test/API/macosx/rosetta/TestRosetta.py
@@ -59,6 +59,13 @@ def test_rosetta(self):
 
             event = lldb.SBEvent()
             os_version = get_os_version()
+            if self.TraceOn():
+                self.runCmd("image list")
+                self.runCmd("platform shell ls ~/Library/Developer/Xcode")
+                self.runCmd(
+                    'platform shell ls ~/Library/Developer/Xcode/"macOS DeviceSupport/"'
+                )
+                self.runCmd("process plugin packet send jGetSharedCacheInfo:{}")
             if not has_rosetta_shared_cache(os_version):
                 self.assertTrue(listener.GetNextEvent(event))
             else:


        


More information about the lldb-commits mailing list