[PATCH] D116675: [OpenMP] Search for static libraries in offload linker tool

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 31 09:46:34 PST 2022


jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.

LG, one nit



================
Comment at: clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp:646
+    if (Arg.startswith("-L"))
+      LibraryPaths.push_back(Arg.drop_front(2));
+
----------------
This seems to handle `-Lfoo`, what about `-L bar`? at least a todo would be good.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116675



More information about the cfe-commits mailing list