[PATCH] D117925: [lld][macho] Add more skip platform check for libSystem re-exports
Byoungchan Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 22 18:25:19 PST 2022
bc-lee updated this revision to Diff 402278.
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
@@ -1271,10 +1271,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.402278.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220123/cf129504/attachment.bin>
More information about the llvm-commits
mailing list