[lld] r226127 - Attempt to fix a Linux buildbot.

Rui Ueyama ruiu at google.com
Wed Jan 14 21:41:12 PST 2015


Author: ruiu
Date: Wed Jan 14 23:41:12 2015
New Revision: 226127

URL: http://llvm.org/viewvc/llvm-project?rev=226127&view=rev
Log:
Attempt to fix a Linux buildbot.

Modified:
    lld/trunk/lib/Driver/GnuLdDriver.cpp

Modified: lld/trunk/lib/Driver/GnuLdDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/GnuLdDriver.cpp?rev=226127&r1=226126&r2=226127&view=diff
==============================================================================
--- lld/trunk/lib/Driver/GnuLdDriver.cpp (original)
+++ lld/trunk/lib/Driver/GnuLdDriver.cpp Wed Jan 14 23:41:12 2015
@@ -218,7 +218,7 @@ findFile(ELFLinkingContext &ctx, StringR
     if (std::error_code ec = pathOrErr.getError())
       return make_dynamic_error_code(
           Twine("Unable to find library -l") + path + ": " + ec.message());
-    path = pathOrErr->str();
+    path = pathOrErr.get();
   }
   if (!llvm::sys::fs::exists(path))
     return make_dynamic_error_code(





More information about the llvm-commits mailing list