[PATCH] D13135: [ELF2] Add support for -L and -l command line switches
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 07:08:36 PDT 2015
rafael added inline comments.
================
Comment at: ELF/Driver.cpp:71
@@ +70,3 @@
+/// \returns a file path on success or an error code on failure.
+static ErrorOr<std::string> searchLibrary(StringRef Path) {
+ SmallVector<SmallString<64>, 2> Names;
----------------
Do not return a ErrorOr. If we ever have to handle it differently, we will do evaluate how when needed.
For now just call error from within this function.
http://reviews.llvm.org/D13135
More information about the llvm-commits
mailing list