[Lldb-commits] [PATCH] D121444: [lldb] Fix platform selection on Apple Silicon (again)

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 14 03:30:31 PDT 2022


labath added a comment.

I don't suppose we could have a (gdb-client?) test for some of this stuff?



================
Comment at: lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp:158
+    // tell them apart and mark the host platform as compatible or not.
+    if (host_arch.IsValid()) {
+      llvm::Triple host_triple = host_arch.GetTriple();
----------------
if (!host_arch || host_arch.GetTriple().getOS() == llvm::Triple::MacOSX)
  ...


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

https://reviews.llvm.org/D121444



More information about the lldb-commits mailing list