Moving the discussion of this issue that started in https://reviews.llvm.org/D113155 to here for clarity.
- The 'default' switch case falls through to ArchSpec::Core_arm_arm64 due to the missing 'break', which seems wrong..
- The following test is failing after #1 is corrected:
$ llvm-lit -sv llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestPlatformMacOSX.py
..
AssertionError: 'host' != 'remote-ios'
Additionally, @clayborg discovered mismatch in cputype between qHostInfo and qProcessInfo.
However, even if that is corrected the test appears to be failing. GetCompatibleArchs() in PlatformDarwin.cpp receives ArchSpec::kCore_invalid
Tested on M1 hardware running MacOS 12.5
I believe that Jonas stated in the other diff that this was intentional.