1. Use better error messages in LinkFiles().
[oota-llvm.git] / lib / Linker / LinkArchives.cpp
index 0d0dc9fabaa2dc178096de7a085d8d02de5cff50..34fe2f124565dda39862b0c8561bb772051bb62e 100644 (file)
@@ -401,13 +401,13 @@ bool LinkFiles(const char *progname,
       Pathname = Files[i];
     } else {
       if (SearchPath == NULL) {
-        std::cerr << "Cannot find " << Files[i];
+        std::cerr << "Cannot find linker input file '" << Files[i] << "'";
         return true;
       }
 
       Pathname = std::string(SearchPath)+"/"+Files[i];
       if (!FileExists(Pathname)) {
-        std::cerr << "Cannot find " << Files[i];
+        std::cerr << "Cannot find linker input file '" << Files[i] << "'";
         return true;
       }
     }