[lld] r193387 - [PECOFF] Output error message to diagnostics.
Rui Ueyama
ruiu at google.com
Thu Oct 24 17:58:45 PDT 2013
Author: ruiu
Date: Thu Oct 24 19:58:44 2013
New Revision: 193387
URL: http://llvm.org/viewvc/llvm-project?rev=193387&view=rev
Log:
[PECOFF] Output error message to diagnostics.
Modified:
lld/trunk/lib/Driver/WinLinkDriver.cpp
Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=193387&r1=193386&r2=193387&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Thu Oct 24 19:58:44 2013
@@ -342,7 +342,7 @@ bool createManifestResourceFile(PECOFFLi
args.push_back(nullptr);
if (llvm::sys::ExecuteAndWait(programPath.c_str(), &args[0]) != 0) {
- llvm::errs() << program << " failed\n";
+ diagnostics << program << " failed\n";
return false;
}
return true;
More information about the llvm-commits
mailing list