llvm-project/lld/COFF
Reid Kleckner 79ac99b3e8 [COFF] Drop unused comdat sections when GC is turned off
Summary:
Adds a "Discarded" bool to SectionChunk to indicate if the section was
discarded by COMDAT deduplication. The Writer still just checks
`isLive()`.

Fixes PR33446

Reviewers: ruiu

Subscribers: llvm-commits

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

llvm-svn: 305582
2017-06-16 20:47:19 +00:00
..
CMakeLists.txt Add BinaryFormat to lld libraries 2017-06-07 18:06:11 +00:00
Chunks.cpp [COFF] Drop unused comdat sections when GC is turned off 2017-06-16 20:47:19 +00:00
Chunks.h [COFF] Drop unused comdat sections when GC is turned off 2017-06-16 20:47:19 +00:00
Config.h Set IMAGE_DLL_CHARACTERISTICS_NO_BIND. 2017-05-18 20:26:58 +00:00
DLL.cpp Revert "Merge IAT and ILT." 2017-06-02 18:49:38 +00:00
DLL.h Revert "Merge IAT and ILT." 2017-06-02 18:49:38 +00:00
Driver.cpp COFF: add support for lib mode usage 2017-06-15 20:39:58 +00:00
Driver.h Re-land "COFF: migrate def parser from LLD to LLVM" 2017-06-02 17:53:06 +00:00
DriverUtils.cpp COFF: add support for lib mode usage 2017-06-15 20:39:58 +00:00
Error.cpp Flush output in log() 2017-04-28 21:35:02 +00:00
Error.h Do not pass archive files containing non-native object files. 2017-03-16 21:19:36 +00:00
ICF.cpp Fix the sanitizer-windows bot. 2017-05-24 20:32:23 +00:00
InputFiles.cpp [COFF] Drop unused comdat sections when GC is turned off 2017-06-16 20:47:19 +00:00
InputFiles.h [PDB] Add a module descriptor for every object file 2017-06-13 15:49:13 +00:00
LTO.cpp [coff] default to multiple parallel ThinLTO jobs 2017-04-12 18:36:13 +00:00
LTO.h Add an option to use the MSVC linker to link LTO-generated object files. 2017-02-06 20:47:55 +00:00
MapFile.cpp [Support] Move Parallel algorithms from LLD to LLVM. 2017-05-11 00:03:52 +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 Garbage collect dllimported symbols. 2017-05-24 22:30:06 +00:00
Memory.h Remove lld/Support/Memory.h. 2016-12-18 14:06:06 +00:00
Options.td [COFF] Fix interaction between /DEBUG and /PDB 2017-05-18 15:15:10 +00:00
PDB.cpp [PDB] Add a module descriptor for every object file 2017-06-13 15:49:13 +00:00
PDB.h COFF: tie the execute and the PDB together 2017-01-04 17:56:54 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Strings.cpp Fix Windows buildbots. 2016-12-07 23:24:32 +00:00
Strings.h COFF: Define overloaded toString functions. 2016-12-07 23:17:02 +00:00
SymbolTable.cpp [COFF] Drop unused comdat sections when GC is turned off 2017-06-16 20:47:19 +00:00
SymbolTable.h Use make<> everywhere in COFF to make it consistent with ELF. 2017-05-18 17:03:49 +00:00
Symbols.cpp Garbage collect dllimported symbols. 2017-05-24 22:30:06 +00:00
Symbols.h Garbage collect dllimported symbols. 2017-05-24 22:30:06 +00:00
Writer.cpp Use MD5::hash(). NFC. 2017-05-25 18:17:43 +00:00
Writer.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00

README.md

See docs/NewLLD.rst