From 1e51e238ed4d5edd98a942b2ea7ac383974225e4 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Mon, 12 Jan 2015 18:32:24 +0000 Subject: [PATCH] Update comment. llvm-svn: 225645 --- lld/lib/Driver/WinLinkDriver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/lib/Driver/WinLinkDriver.cpp b/lld/lib/Driver/WinLinkDriver.cpp index 600fbcac02a6..8f05821495e2 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;