Author: Jonas Devlieghere
Date: 2022-01-15T11:42:29-08:00
New Revision: 0b010ef7b653bbc9f4beef6b03e877911d206de6

URL: 
https://github.com/llvm/llvm-project/commit/0b010ef7b653bbc9f4beef6b03e877911d206de6
DIFF: 
https://github.com/llvm/llvm-project/commit/0b010ef7b653bbc9f4beef6b03e877911d206de6.diff

LOG: [lldb] Use PlatformMacOSX for Mac Catalyst

Use PlatformMacOSX for Mac Catalyst apps on both Intel (x86) and Apple
Silicon (arm64).

Added: 
    

Modified: 
    lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp 
b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
index afe321538b17..9639e1b0b2cb 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
@@ -144,8 +144,11 @@ std::vector<ArchSpec> 
PlatformMacOSX::GetSupportedArchitectures() {
   // has a 32bits variant.
   result.push_back(ArchSpec("x86_64-apple-macosx"));
   result.push_back(ArchSpec("x86_64-apple-ios-macabi"));
+  result.push_back(ArchSpec("arm64-apple-ios-macabi"));
+  result.push_back(ArchSpec("arm64e-apple-ios-macabi"));
 #else
   x86GetSupportedArchitectures(result);
+  result.push_back(ArchSpec("x86_64-apple-ios-macabi"));
 #endif
   return result;
 }


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to