llvm-project/lld/ELF
Rafael Espindola c9157d35d9 Hash symbol names only once per global SymbolBody.
The DenseMap doesn't store hash results. This means that when it is
resized it has to recompute them.

This patch is a small hack that wraps the StringRef in a struct that
remembers the hash value. That way we can be sure it is only hashed
once.

llvm-svn: 266357
2016-04-14 19:17:16 +00:00
..
CMakeLists.txt ELF: Implement --dynamic-list 2016-04-13 18:51:11 +00:00
Config.h ELF: Implement --dynamic-list 2016-04-13 18:51:11 +00:00
Driver.cpp Fix warning about unused variable. 2016-04-13 19:09:48 +00:00
Driver.h git-clang-format. NFC. 2016-04-13 19:07:40 +00:00
DriverUtils.cpp Variable names should start with uppercase letters. 2016-04-02 19:15:26 +00:00
DynamicList.cpp ELF: Implement --dynamic-list 2016-04-13 18:51:11 +00:00
DynamicList.h ELF: Implement --dynamic-list 2016-04-13 18:51:11 +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 Update for llvm change. 2016-04-05 14:47:28 +00:00
ICF.h Rename elf2 to elf. 2016-02-28 00:25:54 +00:00
InputFiles.cpp ELF: Implement basic support for module asm in bitcode files. 2016-04-11 16:39:43 +00:00
InputFiles.h ELF: Implement --start-lib and --end-lib 2016-04-07 19:24:51 +00:00
InputSection.cpp Change how we apply relocations. 2016-04-13 01:40:19 +00:00
InputSection.h Change how we apply relocations. 2016-04-13 01:40:19 +00:00
LTO.cpp [LTO] Switch Module to std::unique_ptr<>. 2016-04-11 22:39:51 +00:00
LTO.h [LTO] Switch Module to std::unique_ptr<>. 2016-04-11 22:39:51 +00:00
LinkerScript.cpp [lld] [ELF] Add ScriptParserBase class 2016-04-06 20:59:11 +00:00
LinkerScript.h ELF: Remove OutSection class and use a map instead. 2016-02-28 05:09:11 +00:00
MarkLive.cpp Hash symbol names only once per global SymbolBody. 2016-04-14 19:17:16 +00:00
Options.td ELF: Implement --dynamic-list 2016-04-13 18:51:11 +00:00
OutputSections.cpp Change how we apply relocations. 2016-04-13 01:40:19 +00:00
OutputSections.h Change how we apply relocations. 2016-04-13 01:40:19 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
ScriptParser.cpp [lld] [ELF] Add ScriptParserBase class 2016-04-06 20:59:11 +00:00
ScriptParser.h [lld] Fix build failure from r265600 2016-04-06 21:33:18 +00:00
SymbolTable.cpp ELF: Implement --dynamic-list 2016-04-13 18:51:11 +00:00
SymbolTable.h Hash symbol names only once per global SymbolBody. 2016-04-14 19:17:16 +00:00
Symbols.cpp Don't set MustBeInDynSym for hidden symbols. 2016-04-13 19:03:34 +00:00
Symbols.h [ELF] - Refactoring of end/edata/etext implementation. 2016-04-14 14:37:59 +00:00
Target.cpp Simplify handling of size relocations. NFC. 2016-04-14 18:39:44 +00:00
Target.h Simplify handling of size relocations. NFC. 2016-04-14 18:39:44 +00:00
Writer.cpp Simplify handling of size relocations. NFC. 2016-04-14 18:39:44 +00:00
Writer.h Rename elf2 to elf. 2016-02-28 00:25:54 +00:00

README.md

See docs/NewLLD.rst