This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0e82c7553be9: [OpenMP] Search for static libraries in
offload linker tool (authored by jhuber6).
Repository:
rG LLVM Github Monorepo
CHANGES SINC
jhuber6 added inline comments.
Comment at: clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp:646
+if (Arg.startswith("-L"))
+ LibraryPaths.push_back(Arg.drop_front(2));
+
jdoerfert wrote:
> This seems to handle `-Lfoo`, what about `-L bar`? at leas
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));
+
-
jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, gregrodgers, JonChesterfield, ronlieb.
Herald added subscribers: guansong, yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
This patch adds support f