llvm-project/lld/ELF
Rafael Espindola aeb4b7d217 Clear OutSec->Sections.
Once the dummy linker script is created, we want it to be used for
everything to avoid having two redundant representations that can get
out of sync.

We were already clearing OutputSections. With this patch we clear the
Sections vector of every OutputSection.

llvm-svn: 303703
2017-05-23 22:54:06 +00:00
..
CMakeLists.txt Move the parser for the linker script to a separate file. 2017-04-05 05:07:39 +00:00
Config.h [ELF] - Stop support of DF_STATIC_TLS flag. 2017-05-12 08:04:58 +00:00
Driver.cpp ELF: The later of --build-id and --build-id= wins. 2017-05-23 21:16:48 +00:00
Driver.h Remove a dead function declaration. 2017-05-02 22:42:24 +00:00
DriverUtils.cpp Sort. 2017-03-27 03:42:55 +00:00
EhFrame.cpp Change the error format to report corrupted .eh_frame. 2017-04-01 01:42:20 +00:00
EhFrame.h Convert InputSectionBase to a class. 2017-02-23 02:28:28 +00:00
Error.cpp Flush output in log() 2017-04-28 21:35:02 +00:00
Error.h Update comments. 2017-03-30 22:57:49 +00:00
Filesystem.cpp Make LLD work even if the current directory is not writable. 2017-04-26 16:15:07 +00:00
Filesystem.h Move code to emit error messages from Filesystem.cpp to Driver.cpp. 2017-04-26 16:14:46 +00:00
GdbIndex.cpp Remove a comment that is taken from gdb man page. 2017-03-29 00:09:40 +00:00
GdbIndex.h ELF: --gdb-index: Change findSection to return an InputSection. 2017-05-15 17:59:21 +00:00
ICF.cpp Rename parallelFor -> parallelForEachN. 2017-05-10 20:02:19 +00:00
ICF.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00
InputFiles.cpp Reduce template usage. NFC. 2017-05-11 22:02:41 +00:00
InputFiles.h Remove redundant `explicit`. 2017-05-05 19:24:58 +00:00
InputSection.cpp Alternative way to detemplate GotSection. 2017-05-18 16:45:36 +00:00
InputSection.h Alternative way to detemplate GotSection. 2017-05-18 16:45:36 +00:00
LTO.cpp [lld] Infer relocation model from module flags in relocatable LTO link. 2017-05-22 21:11:44 +00:00
LTO.h ELF: Add ThinLTO caching support. 2017-03-01 23:00:10 +00:00
LinkerScript.cpp Use more strict types. NFC. 2017-05-23 22:47:31 +00:00
LinkerScript.h Use more strict types. NFC. 2017-05-23 22:47:31 +00:00
MapFile.cpp Clear OutSec->Sections. 2017-05-23 22:54:06 +00:00
MapFile.h Use linker script commands in writeMapFile. 2017-05-18 21:30:14 +00:00
MarkLive.cpp [ELF] - Combine LinkerScriptBase and LinkerScript<ELFT> 2017-03-20 10:09:58 +00:00
Memory.h Remove lld/Support/Memory.h. 2016-12-18 14:06:06 +00:00
Mips.cpp [ELF][MIPS] N32 ABI support 2016-11-05 22:58:01 +00:00
Options.td [ELF] - Accept --defsym foo=value form. 2017-05-05 11:59:15 +00:00
OutputSections.cpp [ELF] - Detemplate access to SymTab, DynSymTab, GnuHashTab. NFC. 2017-05-16 10:04:42 +00:00
OutputSections.h Optimize orphan placement in a general way. 2017-05-12 14:52:22 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp Alternative way to detemplate GotSection. 2017-05-18 16:45:36 +00:00
Relocations.h [ELF] Support R_ARM_SBREL32 Relocation 2017-05-18 09:12:21 +00:00
ScriptLexer.cpp Handle ":" as a regular token character in linker scripts. 2017-03-09 19:23:00 +00:00
ScriptLexer.h Handle ":" as a regular token character in linker scripts. 2017-03-09 19:23:00 +00:00
ScriptParser.cpp [ELF] - Use llvm::to_integer() instead of StringRef::getAsInteger(). 2017-05-16 08:19:25 +00:00
ScriptParser.h Move the parser for the linker script to a separate file. 2017-04-05 05:07:39 +00:00
Strings.cpp [ELF] - Use llvm::to_integer() instead of StringRef::getAsInteger(). 2017-05-16 08:19:25 +00:00
Strings.h Simplify BinaryFile::parse and add comments. 2017-04-27 04:01:36 +00:00
SymbolTable.cpp Reduce code duplication. NFC. 2017-05-04 14:54:48 +00:00
SymbolTable.h [ELF] - Implemented --defsym option. 2017-04-26 10:40:02 +00:00
Symbols.cpp Detemplate SymbolBody::getGotVA. NFC. 2017-05-11 23:28:49 +00:00
Symbols.h Detemplate SymbolBody::getGotVA. NFC. 2017-05-11 23:28:49 +00:00
SyntheticSections.cpp Alternative way to detemplate GotSection. 2017-05-18 16:45:36 +00:00
SyntheticSections.h Alternative way to detemplate GotSection. 2017-05-18 16:45:36 +00:00
Target.cpp [ELF] Support R_ARM_SBREL32 Relocation 2017-05-18 09:12:21 +00:00
Target.h Remove isTlsLocalDynamicRel and isTlsInitialExecRel. 2017-05-05 20:25:54 +00:00
Threads.h [Support] Move Parallel algorithms from LLD to LLVM. 2017-05-11 00:03:52 +00:00
Thunks.cpp [ELF] - Detemplate Thunk creation. 2017-05-17 07:10:59 +00:00
Thunks.h [ELF] - Detemplate Thunk creation. 2017-05-17 07:10:59 +00:00
Writer.cpp Clear OutSec->Sections. 2017-05-23 22:54:06 +00:00
Writer.h Detemplate isRelroSection. NFC. 2017-05-11 23:31:06 +00:00

README.md

See docs/NewLLD.rst