[lld] r225645 - Update comment.
Rui Ueyama
ruiu at google.com
Mon Jan 12 10:32:24 PST 2015
Author: ruiu
Date: Mon Jan 12 12:32:24 2015
New Revision: 225645
URL: http://llvm.org/viewvc/llvm-project?rev=225645&view=rev
Log:
Update comment.
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=225645&r1=225644&r2=225645&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Mon Jan 12 12:32:24 2015
@@ -812,8 +812,8 @@ static bool hasLibrary(const PECOFFLinki
}
// If the first command line argument is "/lib", link.exe acts as if it's
-// "lib.exe" command. This feature is not documented and looks weird, or at
-// least seems redundant, but is needed for MSVC compatibility.
+// "lib.exe" command. This is for backward compatibility.
+// http://msdn.microsoft.com/en-us/library/h34w59b3.aspx
static bool maybeRunLibCommand(int argc, const char **argv, raw_ostream &diag) {
if (argc <= 1)
return false;
More information about the llvm-commits
mailing list