llvm-project/lld/COFF
Peter Collingbourne 31275d4472 COFF: Correctly handle relocations against early discarded sections.
Don't crash if we encounter a reference to an early discarded section
(such as .drectve). Instead, handle them the same way as sections
discarded by comdat merging, i.e. either print an error message or
(for debug sections) silently ignore the relocation.

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

llvm-svn: 318689
2017-11-20 19:37:07 +00:00
..
CMakeLists.txt [lld] unified COFF and ELF error handling on new Common/ErrorHandler 2017-10-25 22:28:38 +00:00
Chunks.cpp COFF: Correctly handle relocations against early discarded sections. 2017-11-20 19:37:07 +00:00
Chunks.h Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Config.h COFF: Remove unused fields. NFC. 2017-11-20 05:31:09 +00:00
DLL.cpp Remove {get,set}Align accessor functions and use Alignment member variable instead. 2017-09-13 21:54:55 +00:00
DLL.h Revert "Merge IAT and ILT." 2017-06-02 18:49:38 +00:00
Driver.cpp COFF: Stop emitting a non-standard COFF symbol table into PEs. 2017-11-17 19:51:20 +00:00
Driver.h Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
DriverUtils.cpp Use DenseMap instead of std::map in fixupExports 2017-11-10 19:12:01 +00:00
ICF.cpp COFF: Stop requiring comdat sections to have an external leader to participate in ICF. 2017-11-20 18:51:29 +00:00
InputFiles.cpp COFF: Remove the SymbolBodies vector, and rename SparseSymbolBodies to Symbols. 2017-11-20 18:52:53 +00:00
InputFiles.h COFF: Remove the SymbolBodies vector, and rename SparseSymbolBodies to Symbols. 2017-11-20 18:52:53 +00:00
LTO.cpp Rename replaceBody -> replaceSymbol. 2017-11-03 22:48:47 +00:00
LTO.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
MapFile.cpp COFF: Remove the SymbolBodies vector, and rename SparseSymbolBodies to Symbols. 2017-11-20 18:52:53 +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: Correctly handle relocations against early discarded sections. 2017-11-20 19:37:07 +00:00
Memory.h Remove lld/Support/Memory.h. 2016-12-18 14:06:06 +00:00
MinGW.cpp [COFF] Improve the autoexport check for symbols from import libraries with -opt:noref 2017-11-16 07:22:44 +00:00
MinGW.h [COFF] Avoid forward declaring StringSet, fix build 2017-10-19 20:19:16 +00:00
Options.td COFF: Stop emitting a non-standard COFF symbol table into PEs. 2017-11-17 19:51:20 +00:00
PDB.cpp Remove dead include. 2017-11-13 18:10:37 +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
Strings.cpp Fix build breakage. 2017-06-19 18:04:34 +00:00
Strings.h COFF: Define overloaded toString functions. 2016-12-07 23:17:02 +00:00
SymbolTable.cpp COFF: Remove the SymbolBodies vector, and rename SparseSymbolBodies to Symbols. 2017-11-20 18:52:53 +00:00
SymbolTable.h Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Symbols.cpp Rename SymbolBody -> Symbol 2017-11-03 21:21:47 +00:00
Symbols.h COFF: Remove unused fields. NFC. 2017-11-20 05:31:09 +00:00
Writer.cpp COFF: Stop emitting a non-standard COFF symbol table into PEs. 2017-11-17 19:51:20 +00:00
Writer.h Remove Symtab aliases. 2017-08-28 21:51:07 +00:00

README.md

See docs/NewLLD.rst