[lld] r305631 - Update documentation to reflection disuse of external cvtres.

Eric Beckmann via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 19:26:27 PDT 2017


Author: ecbeckmann
Date: Fri Jun 16 21:26:27 2017
New Revision: 305631

URL: http://llvm.org/viewvc/llvm-project?rev=305631&view=rev
Log:
Update documentation to reflection disuse of external cvtres.

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D34316

Modified:
    lld/trunk/COFF/Driver.cpp
    lld/trunk/docs/windows_support.rst

Modified: lld/trunk/COFF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=305631&r1=305630&r2=305631&view=diff
==============================================================================
--- lld/trunk/COFF/Driver.cpp (original)
+++ lld/trunk/COFF/Driver.cpp Fri Jun 16 21:26:27 2017
@@ -935,9 +935,9 @@ void LinkerDriver::link(ArrayRef<const c
     Config->Machine = AMD64;
   }
 
-  // Windows specific -- Input files can be Windows resource files (.res files).
-  // We invoke cvtres.exe to convert resource files to a regular COFF file
-  // then link the result file normally.
+  // Input files can be Windows resource files (.res files). We use
+  // WindowsResource to convert resource files to a regular COFF file,
+  // then link the resulting file normally.
   if (!Resources.empty())
     addBuffer(convertResToCOFF(Resources));
 

Modified: lld/trunk/docs/windows_support.rst
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/windows_support.rst?rev=305631&r1=305630&r2=305631&view=diff
==============================================================================
--- lld/trunk/docs/windows_support.rst (original)
+++ lld/trunk/docs/windows_support.rst Fri Jun 16 21:26:27 2017
@@ -49,7 +49,7 @@ Creating DLL
 
 Windows resource files support
   :good:`Done`. If an ``.res`` file is given, LLD converts the file to a COFF
-  file using ``cvtres.exe`` command and link it.
+  file using LLVM's Object library.
 
 Safe Structured Exception Handler (SEH)
   :good:`Done` for both x86 and x64.




More information about the llvm-commits mailing list