[Lldb-commits] [PATCH] D131795: [LLDB] Fix the 'default' switch case in GetCompatibleArchs()

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 12 12:30:22 PDT 2022


clayborg added a comment.

> However, even if that is corrected the test appears to be failing. GetCompatibleArchs() in PlatformDarwin.cpp receives ArchSpec::kCore_invalid

Can you set a breakpoint and see why an invalid core is being passed into this function? This shouldn't be happening IMHO



================
Comment at: lldb/test/API/functionalities/gdb_remote_client/TestPlatformMacOSX.py:22
         def qHostInfo(self):
-            return "cputype:16777223;cpusubtype:2;ostype:%s;vendor:apple;os_version:10.15.4;maccatalyst_version:13.4;endian:little;ptrsize:8;" % self.host_ostype
+            return "cputype:16777228;cpusubtype:2;ostype:%s;vendor:apple;os_version:10.15.4;maccatalyst_version:13.4;endian:little;ptrsize:8;" % self.host_ostype
 
----------------
I believe that Jonas stated in the other diff that this was intentional.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131795/new/

https://reviews.llvm.org/D131795



More information about the lldb-commits mailing list