Skip to content

Commit

Permalink
[lldb] Use PlatformMacOSX for Mac Catalyst
Browse files Browse the repository at this point in the history
Use PlatformMacOSX for Mac Catalyst apps on both Intel (x86) and Apple
Silicon (arm64).
  • Loading branch information
JDevlieghere committed Jan 15, 2022
1 parent 772f7b8 commit 0b010ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0b010ef

Please sign in to comment.