llvm-project/lld/ELF
Rui Ueyama bfc1d9d976 Remove DefinedElf class.
DefinedElf was a superclass of DefinedRegular and SharedSymbol classes
and represented the notion of defined symbols created for ELF symbols.

It turned out that we didn't use that class often. We had only two
occurrences of dyn_cast'ing to DefinedElf, and both were easily
rewritten without it.

The class was also a bit confusing. The concept of "created for ELF
symbol" is orthogonal to defined/undefined types. However, we had
two distinct classes, DefinedElf and UndefinedElf.

This patch simply removes the class. Now the class hierarchy is one
level shallower.

llvm-svn: 265234
2016-04-02 18:06:18 +00:00
..
CMakeLists.txt Fix shared build after r264790 2016-03-30 08:31:46 +00:00
Config.h Call cl::ParseCommandLineOptions from the driver. 2016-04-02 04:08:02 +00:00
Driver.cpp Call cl::ParseCommandLineOptions from the driver. 2016-04-02 04:08:02 +00:00
Driver.h ELF: Correctly handle --whole-archive for thin archives. 2016-03-31 23:12:18 +00:00
DriverUtils.cpp Simplify. NFC. 2016-03-29 20:53:21 +00:00
Error.cpp Remove dead code. 2016-03-13 04:25:43 +00:00
Error.h Remove dead code. 2016-03-13 04:25:43 +00:00
ICF.cpp Error/warning/log messages should start with lowercase letters. 2016-03-15 14:00:22 +00:00
ICF.h Rename elf2 to elf. 2016-02-28 00:25:54 +00:00
InputFiles.cpp Revert "[ELF] SHF_MERGE section with 0 entsize is not fatal" 2016-03-21 14:57:20 +00:00
InputFiles.h Use ELFT instead of ELFFile<ELFT>. 2016-03-14 23:16:09 +00:00
InputSection.cpp Don't apply a recolation that the dynamic linker will rewrite. 2016-04-01 16:21:09 +00:00
InputSection.h [ELF] Implement infrastructure for thunk code creation 2016-03-31 21:26:23 +00:00
LTO.cpp Call cl::ParseCommandLineOptions from the driver. 2016-04-02 04:08:02 +00:00
LTO.h Make BitcodeCompiler::compile a non-template function. NFC. 2016-03-29 19:08:46 +00:00
LinkerScript.cpp Include line number in error message for linker scripts. 2016-03-30 16:51:57 +00:00
LinkerScript.h ELF: Remove OutSection class and use a map instead. 2016-02-28 05:09:11 +00:00
MarkLive.cpp Use ELFT instead of ELFFile<ELFT>. 2016-03-14 23:16:09 +00:00
Options.td PR27104: Add -mllvm option 2016-04-02 01:39:56 +00:00
OutputSections.cpp Remove DefinedElf class. 2016-04-02 18:06:18 +00:00
OutputSections.h [ELF] Implement infrastructure for thunk code creation 2016-03-31 21:26:23 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
SymbolTable.cpp [LTO] Fix symbols which were internalized incorrectly. 2016-04-02 02:10:40 +00:00
SymbolTable.h Remove unused fwd decl for LLVM IR stuff that lives in LTO now 2016-03-30 20:15:41 +00:00
Symbols.cpp Remove DefinedElf class. 2016-04-02 18:06:18 +00:00
Symbols.h Remove DefinedElf class. 2016-04-02 18:06:18 +00:00
Target.cpp Bring r264761 back with an extra fix. 2016-04-01 17:00:36 +00:00
Target.h Pass a const pointer to getImplicitAddend. NFC. 2016-04-01 14:36:09 +00:00
Writer.cpp Don't create a plt when LD access is optimized. 2016-04-02 00:19:22 +00:00
Writer.h Rename elf2 to elf. 2016-02-28 00:25:54 +00:00

README.md

See docs/NewLLD.rst