[Lldb-commits] [lldb] [lldb][macos] Add trace prints to TestRosetta to debug CI (PR #192771)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 17 23:32:04 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Jason Molenda (jasonmolenda)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/192771.diff
1 Files Affected:
- (modified) lldb/test/API/macosx/rosetta/TestRosetta.py (+7)
``````````diff
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:
``````````
</details>
https://github.com/llvm/llvm-project/pull/192771
More information about the lldb-commits
mailing list