From: Rui Ueyama Date: Mon, 12 Jan 2015 18:32:24 +0000 (+0000) Subject: Update comment. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e51e238ed4d5edd98a942b2ea7ac383974225e4;p=platform%2Fupstream%2Fllvm.git Update comment. llvm-svn: 225645 --- diff --git a/lld/lib/Driver/WinLinkDriver.cpp b/lld/lib/Driver/WinLinkDriver.cpp index 600fbca..8f05821 100644 --- a/lld/lib/Driver/WinLinkDriver.cpp +++ b/lld/lib/Driver/WinLinkDriver.cpp @@ -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;