llvm-project/lld/ELF
Rafael Espindola b89951457d Remove SymbolTable::getChunks.
When we were using a std::sort over all the chunks we needed to put them in a
single storage.

Now that we just iterate over them and use a map to find the output section,
we can avoid allocating the temporary storage.

llvm-svn: 243980
2015-08-04 13:39:30 +00:00
..
CMakeLists.txt [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
Chunks.cpp [ELF2] Emit correct section types. 2015-07-29 00:52:17 +00:00
Chunks.h [ELF2] Emit section table. 2015-07-29 00:30:10 +00:00
Config.h [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
Driver.cpp [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
Driver.h [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
DriverUtils.cpp [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
InputFiles.cpp [ELF2] Devirtualize SymbolBody. 2015-07-28 22:58:25 +00:00
InputFiles.h [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
Options.td [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
README.md [ELF2] Add a new ELF linker based on the new PE/COFF linker. 2015-07-24 21:03:07 +00:00
SymbolTable.cpp Remove SymbolTable::getChunks. 2015-08-04 13:39:30 +00:00
SymbolTable.h Remove SymbolTable::getChunks. 2015-08-04 13:39:30 +00:00
Symbols.cpp [ELF2] Devirtualize SymbolBody. 2015-07-28 22:58:25 +00:00
Symbols.h [ELF2] Devirtualize SymbolBody. 2015-07-28 22:58:25 +00:00
Writer.cpp Remove SymbolTable::getChunks. 2015-08-04 13:39:30 +00:00
Writer.h [ELF2] Templatize addChunk and handle section flags. 2015-07-29 22:14:50 +00:00

README.md

The New ELF Linker

This directory contains a port of the new PE/COFF linker for ELF.

Overall Design

See COFF/README.md for details on the design.

Capabilities

This linker can currently generate a valid ELF file that can be run on linux from a single input file.