Update comment.
authorRui Ueyama <ruiu@google.com>
Mon, 12 Jan 2015 18:32:24 +0000 (18:32 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 12 Jan 2015 18:32:24 +0000 (18:32 +0000)
llvm-svn: 225645

lld/lib/Driver/WinLinkDriver.cpp

index 600fbca..8f05821 100644 (file)
@@ -812,8 +812,8 @@ static bool hasLibrary(const PECOFFLinkingContext &ctx, FileNode *fileNode) {
 }
 
 // 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;