llvm-project/lld/COFF
Rui Ueyama cdd5fb5087 Report an error if you try to link against .dll instead of .lib.
It is a usage error to feed a .dll file instead of a .dll to COFF linker.
Previously, lld failed with a mysterious error message. Now we reject
it at the driver.

Fixes https://bugs.llvm.org/show_bug.cgi?id=36440

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

llvm-svn: 326507
2018-03-01 23:11:30 +00:00
..
CMakeLists.txt Merge {COFF,ELF}/Strings.cpp to Common/Strings.cpp. 2018-02-28 17:38:19 +00:00
Chunks.cpp Simplify. 2018-02-17 23:37:26 +00:00
Chunks.h [COFF] Add minimal support for /guard:cf 2018-02-06 01:58:26 +00:00
Config.h [LLD] Implement /guard:[no]longjmp 2018-02-13 20:32:53 +00:00
DLL.cpp Consistent (non) use of empty lines in include blocks 2018-02-20 21:53:18 +00:00
DLL.h Revert "Merge IAT and ILT." 2017-06-02 18:49:38 +00:00
Driver.cpp Report an error if you try to link against .dll instead of .lib. 2018-03-01 23:11:30 +00:00
Driver.h Consistent use of header file for ICF and MarkLive 2018-02-20 22:09:59 +00:00
DriverUtils.cpp [LLD] Implement /guard:[no]longjmp 2018-02-13 20:32:53 +00:00
ICF.cpp Consistent use of header file for ICF and MarkLive 2018-02-20 22:09:59 +00:00
ICF.h Consistent use of header file for ICF and MarkLive 2018-02-20 22:09:59 +00:00
InputFiles.cpp [LLD] Implement /guard:[no]longjmp 2018-02-13 20:32:53 +00:00
InputFiles.h [LLD] Implement /guard:[no]longjmp 2018-02-13 20:32:53 +00:00
LTO.cpp [lld/LTO] Remove unused Path parameter to AddBufferFn 2018-02-20 20:21:59 +00:00
LTO.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
MapFile.cpp Consistent (non) use of empty lines in include blocks 2018-02-20 21:53:18 +00:00
MapFile.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
MarkLive.cpp [coff] Print detailed timing information with /TIME. 2018-01-17 19:16:26 +00:00
MarkLive.h Consistent use of header file for ICF and MarkLive 2018-02-20 22:09:59 +00:00
MinGW.cpp [COFF] Don't export symbols that have corresponding __imp_ symbols 2017-11-29 05:50:49 +00:00
MinGW.h [COFF] Avoid forward declaring StringSet, fix build 2017-10-19 20:19:16 +00:00
Options.td [COFF] Add minimal support for /guard:cf 2018-02-06 01:58:26 +00:00
PDB.cpp [PDB] Defer writing the build id until the rest of the PDB is written. 2018-03-01 18:00:29 +00:00
PDB.h [LLD COFF/PDB] Incrementally update the build id. 2017-08-15 21:31:41 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
SymbolTable.cpp Use DenseMap::lookup() instead of find() and a hand-written null check. 2018-02-28 23:03:06 +00:00
SymbolTable.h Reland r319090, "COFF: Do not create SectionChunks for discarded comdat sections." with a fix for debug sections. 2017-11-28 01:30:07 +00:00
Symbols.cpp Merge {COFF,ELF}/Strings.cpp to Common/Strings.cpp. 2018-02-28 17:38:19 +00:00
Symbols.h Remove an unused accessor and simplify the logic a bit. NFC. 2018-02-17 20:41:38 +00:00
Writer.cpp Remove an unused accessor and simplify the logic a bit. NFC. 2018-02-17 20:41:38 +00:00
Writer.h [coff] Print detailed timing information with /TIME. 2018-01-17 19:16:26 +00:00

README.md

See docs/NewLLD.rst