[PATCH] D81113: lld: add basic static library search

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 18:45:37 PDT 2020


gkm added inline comments.


================
Comment at: lld/MachO/Driver.cpp:299-302
+      if (Optional<std::string> path = findDylib(name))
+        addFile(*path);
+      else if (Optional<std::string> path = findArchive(name))
         addFile(*path);
----------------
gkm wrote:
> You have implemented old `-search_dylibs_first` semantics. The default since Xcode 4 is `-search_paths_first`
Nevermind. I see D81124 fixes it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81113





More information about the llvm-commits mailing list