[lld/mac] Revert libcompiler_rt.dylib version check change

This reverts D117925 since it's no longer needed after D124336.

Differential Revision: https://reviews.llvm.org/D124354
This commit is contained in:
Nico Weber 2022-04-24 21:10:55 -04:00
parent 2bec8d6d59
commit 010acc52a8

View file

@ -1289,11 +1289,10 @@ void DylibFile::parseLoadCommands(MemoryBufferRef mb) {
// Some versions of Xcode ship with .tbd files that don't have the right
// platform settings.
constexpr std::array<StringRef, 4> skipPlatformChecks{
constexpr std::array<StringRef, 3> skipPlatformChecks{
"/usr/lib/system/libsystem_kernel.dylib",
"/usr/lib/system/libsystem_platform.dylib",
"/usr/lib/system/libsystem_pthread.dylib",
"/usr/lib/system/libcompiler_rt.dylib"};
"/usr/lib/system/libsystem_pthread.dylib"};
static bool skipPlatformCheckForCatalyst(const InterfaceFile &interface,
bool explicitlyLinked) {