Previous topic

Next topic

This Page

Quick search

LLD supports Windows operating system. When invoked as lld-link.exe or with
-flavorlink, the driver for Windows operating system is used to parse
command line options, and it drives further linking processes. LLD accepts
almost all command line options that the linker shipped with Microsoft Visual
C++ (link.exe) supports.

The current status is that LLD can link itself on Windows x86/x64
using Visual C++ 2013 as the compiler.

Mostly done. Some exotic command line options that are not usually
used for application develompent, such as /DRIVER, are not supported.

Linking against DLL

Done. LLD can read import libraries needed to link against DLL. Both
export-by-name and export-by-ordinal are supported.

Linking against static library

Done. The format of static library (.lib) on Windows is actually the
same as on Unix (.a). LLD can read it.

Creating DLL

Done. LLD creates a DLL if /DLL option is given. Exported
functions can be specified either via command line (/EXPORT) or via
module-definition file (.def). Both export-by-name and export-by-ordinal are
supported.

Windows resource files support

Done. If an .res file is given, LLD converts the file to a COFF
file using LLVM’s Object library.