llvm-project/lld/ELF
George Rimar 1b45d377e3 [ELF] - Cleanup of processSectionCommands().
The way we handle ONLY_IF_RO/ONLY_IF_RW constraints in
processSectionCommands is a bit tricky. If input sections
does no satisfy given constraint we remove command from
commands list. It seems too complex, what we can do instead
is to make the OutputCommand empty. So that at later steps
LLD will remove it just like it deal with other empty output commands.
That allows to simplify the loop a bit.

Differential revision: https://reviews.llvm.org/D39094

llvm-svn: 317082
2017-11-01 08:40:28 +00:00
..
Arch [ELF] Introduce range extension thunks for ARM 2017-10-27 09:04:11 +00:00
Bits.h Move bit operations to a new file, ELF/Bits.h. 2017-10-26 21:37:17 +00:00
CMakeLists.txt [lld] unified COFF and ELF error handling on new Common/ErrorHandler 2017-10-25 22:28:38 +00:00
Config.h Merge SymbolBody and Symbol into one class, SymbolBody. 2017-10-31 16:07:41 +00:00
Driver.cpp Add --no-omagic and --no-print-gc-sections. 2017-11-01 02:04:43 +00:00
Driver.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
DriverUtils.cpp [lld] unified COFF and ELF error handling on new Common/ErrorHandler 2017-10-25 22:28:38 +00:00
EhFrame.cpp De-template EhReader. NFC. 2017-10-27 03:14:09 +00:00
EhFrame.h De-template EhReader. NFC. 2017-10-27 03:14:09 +00:00
Filesystem.cpp [lld] Move Threads to Common 2017-10-13 18:22:55 +00:00
Filesystem.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
GdbIndex.cpp [ELF] Decompress debug info sections early 2017-10-04 00:19:41 +00:00
GdbIndex.h Remove unused member variable. 2017-09-24 23:12:36 +00:00
ICF.cpp [lld] Move Threads to Common 2017-10-13 18:22:55 +00:00
ICF.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
InputFiles.cpp [ELF] - Teach LLD to report line numbers for data symbols. 2017-11-01 07:42:38 +00:00
InputFiles.h [ELF] - Teach LLD to report line numbers for data symbols. 2017-11-01 07:42:38 +00:00
InputSection.cpp [ELF] - Teach LLD to report line numbers for data symbols. 2017-11-01 07:42:38 +00:00
InputSection.h [ELF] - Teach LLD to report line numbers for data symbols. 2017-11-01 07:42:38 +00:00
LTO.cpp Merge SymbolBody and Symbol into one class, SymbolBody. 2017-10-31 16:07:41 +00:00
LTO.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
LinkerScript.cpp [ELF] - Cleanup of processSectionCommands(). 2017-11-01 08:40:28 +00:00
LinkerScript.h [ELF] - Simplify output section creation. 2017-10-31 10:31:58 +00:00
MapFile.cpp Do not handle DefinedCommon symbols in the MapFile writer. 2017-10-28 21:11:38 +00:00
MapFile.h Pass symbol attributes instead of ElfSym to Shared symbol ctor. 2017-10-28 20:15:56 +00:00
MarkLive.cpp Merge SymbolBody and Symbol into one class, SymbolBody. 2017-10-31 16:07:41 +00:00
Memory.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
Options.td Add --no-omagic and --no-print-gc-sections. 2017-11-01 02:04:43 +00:00
OutputSections.cpp [ELF] - Remove useless code. NFC. 2017-10-31 14:21:30 +00:00
OutputSections.h [ELF] - Simplify reporting of garbage collected sections. 2017-10-27 11:32:22 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp [ELF] - Teach LLD to report line numbers for data symbols. 2017-11-01 07:42:38 +00:00
Relocations.h [ELF] Add support for multiple passes to createThunks() 2017-10-27 09:07:10 +00:00
ScriptLexer.cpp [lld] unified COFF and ELF error handling on new Common/ErrorHandler 2017-10-25 22:28:38 +00:00
ScriptLexer.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
ScriptParser.cpp [lld] unified COFF and ELF error handling on new Common/ErrorHandler 2017-10-25 22:28:38 +00:00
ScriptParser.h Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00
Strings.cpp [lld] unified COFF and ELF error handling on new Common/ErrorHandler 2017-10-25 22:28:38 +00:00
Strings.h [ELF] - Update after LLVM r314883 change. NFC. 2017-10-04 08:50:34 +00:00
SymbolTable.cpp [ELF] - Teach LLD to report line numbers for data symbols. 2017-11-01 07:42:38 +00:00
SymbolTable.h Merge SymbolBody and Symbol into one class, SymbolBody. 2017-10-31 16:07:41 +00:00
Symbols.cpp Merge SymbolBody and Symbol into one class, SymbolBody. 2017-10-31 16:07:41 +00:00
Symbols.h Merge SymbolBody and Symbol into one class, SymbolBody. 2017-10-31 16:07:41 +00:00
SyntheticSections.cpp Merge SymbolBody and Symbol into one class, SymbolBody. 2017-10-31 16:07:41 +00:00
SyntheticSections.h ELF: Add support for emitting dynamic relocations in the Android relocation packing format. 2017-10-27 17:49:40 +00:00
Target.cpp [ELF] Introduce range extension thunks for ARM 2017-10-27 09:04:11 +00:00
Target.h [ELF] Introduce range extension thunks for ARM 2017-10-27 09:04:11 +00:00
Thunks.cpp [ELF] Add support for multiple passes to createThunks() 2017-10-27 09:07:10 +00:00
Thunks.h [ELF] Add support for multiple passes to createThunks() 2017-10-27 09:07:10 +00:00
Writer.cpp [ELF] Remove unnecessary function call. NFC. 2017-10-31 17:28:44 +00:00
Writer.h [MIPS] Generate thunks for microMIPS code 2017-10-03 13:30:02 +00:00

README.md

See docs/NewLLD.rst