[PATCH] D117925: [lld][macho] Add more skip platform check for libSystem re-exports

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 4 13:35:20 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGda08d50fd67e: [lld][macho] Add more skip platform check for libSystem re-exports (authored by bc-lee, committed by int3).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117925

Files:
  lld/MachO/InputFiles.cpp


Index: lld/MachO/InputFiles.cpp
===================================================================
--- lld/MachO/InputFiles.cpp
+++ lld/MachO/InputFiles.cpp
@@ -1259,10 +1259,11 @@
 
 // Some versions of XCode ship with .tbd files that don't have the right
 // platform settings.
-static constexpr std::array<StringRef, 3> skipPlatformChecks{
+constexpr std::array<StringRef, 4> 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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117925.406096.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220204/1928b17d/attachment.bin>


More information about the llvm-commits mailing list