This one isn't meant to be complete, it's merely a step into AArch64 direction.
Before this patch, lldb can't even list AArch64 when cross-compiled and started on FoundationV8 emulator:
error: attach failed: '/usr/sbin/sshd' doesn't contain any 'host' platform architectures:
(lldb)
The same goes to lldb-gdbserver (e.g. when started for 'ls' command):
LaunchDebugServerProcess: failed to launch executable ls
error: failed to launch 'ls': 'ls' doesn't contain any 'host' platform architectures:
With this patch applied, "aarch64" is at least listed as platform architecture:
error: attach failed: '/usr/sbin/sshd' doesn't contain any 'host' platform architectures: aarch64, aarch64
(lldb)
LaunchDebugServerProcess: failed to launch executable ls
error: failed to launch 'ls': 'ls' doesn't contain any 'host' platform architectures: aarch64, aarch64