From 9e19d790a683e30b6ae7319b0bc6fb296730cbc5 Mon Sep 17 00:00:00 2001 From: Eric Beckmann Date: Sat, 17 Jun 2017 02:26:27 +0000 Subject: [PATCH] Update documentation to reflection disuse of external cvtres. Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34316 llvm-svn: 305631 --- lld/COFF/Driver.cpp | 6 +++--- lld/docs/windows_support.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp index 4f3199fa53a6..45a6d3276b28 100644 --- a/lld/COFF/Driver.cpp +++ b/lld/COFF/Driver.cpp @@ -935,9 +935,9 @@ void LinkerDriver::link(ArrayRef ArgsArr) { 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)); diff --git a/lld/docs/windows_support.rst b/lld/docs/windows_support.rst index 72fcbccec149..56df45b32633 100644 --- a/lld/docs/windows_support.rst +++ b/lld/docs/windows_support.rst @@ -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.