diff --git a/lld/MachO/InputFiles.cpp b/lld/MachO/InputFiles.cpp --- a/lld/MachO/InputFiles.cpp +++ b/lld/MachO/InputFiles.cpp @@ -1271,10 +1271,11 @@ // Some versions of XCode ship with .tbd files that don't have the right // platform settings. -static constexpr std::array skipPlatformChecks{ +constexpr std::array skipPlatformChecks{ "/usr/lib/system/libsystem_kernel.dylib", "/usr/lib/system/libsystem_platform.dylib", - "/usr/lib/system/libsystem_pthread.dylib"}; + "/usr/lib/system/libsystem_pthread.dylib", + "/usr/lib/system/libcompiler_rt.dylib"}; DylibFile::DylibFile(const InterfaceFile &interface, DylibFile *umbrella, bool isBundleLoader)