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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 21 20:22:16 PST 2022


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: lld/MachO/InputFiles.cpp:1274
 // platform settings.
-static constexpr std::array<StringRef, 3> skipPlatformChecks{
+static constexpr std::array<StringRef, 4> skipPlatformChecks{
     "/usr/lib/system/libsystem_kernel.dylib",
----------------
const at a namespace scope is automatically internal linkage (unless some edge-case conditions) so `static` can be omitted.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117925



More information about the llvm-commits mailing list