[lldb] Fix remote macOS debugging on Apple Silicon
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 30 Jul 2021 16:35:44 +0000 (09:35 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 30 Jul 2021 20:14:10 +0000 (13:14 -0700)
commit7ad854c41e2b08b8cd6aae1d3b6f22125512585b
tree3deb006b67730854a31c464eb20c2d6b93259696
parentbdf4c7b738ee3dfbcd468ec347beec58b6e43a5a
[lldb] Fix remote macOS debugging on Apple Silicon

Update ARMGetSupportedArchitectureAtIndex to consider remote macOS
debugging. Currently, it defaults to an iOS triple when IsHost() returns
false. This fixes TestPlatformSDK.py on Apple Silicon.

Differential revision: https://reviews.llvm.org/D107179
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp