[Lldb-commits] [lldb] Change debugserver to report the cpu(sub)type of process, not the host. (PR #82938)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 26 09:55:34 PST 2024


================
@@ -26,3 +31,8 @@ def test(self):
                          "target triple is updated correctly")
         error = process.Kill()
         self.assertSuccess(error)
+
+        # Test debugserver behavior.
+        self.filecheck('platform shell cat "%s"' % packets, __file__)
+        # CHECK: cputype:100000c;cpusubtype:2;ptrsize:8;ostype:macosx;vendor:apple;endian:little;
----------------
adrian-prantl wrote:

Thanks!

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


More information about the lldb-commits mailing list