hanchenye-llvm-project/lld
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
..
COFF [COFF] Simplify the code leveraging implicit conversion. 2016-04-12 22:05:38 +00:00
ELF Hash symbol names only once per global SymbolBody. 2016-04-14 19:17:16 +00:00
cmake/modules
docs Docs: keep copyright years up-to-date. 2016-03-30 22:25:04 +00:00
include/lld Remove unused variants of make_dynamic_error_code. NFC. 2016-03-31 01:21:50 +00:00
lib [lld][MachO] Clean up some unnecessarily verbose code. NFC. 2016-04-06 17:18:55 +00:00
test ELF: Do not create copy relocations for references in writable sections. 2016-04-14 01:48:11 +00:00
tools/lld Inline a trivial CMakeLists.txt. 2016-03-03 01:56:23 +00:00
unittests Fix test which failed Error migration on Windows bots. 2016-04-04 16:56:09 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Inline a trivial CMakeLists.txt. 2016-03-03 01:56:23 +00:00
CODE_OWNERS.TXT
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:40:59 +00:00
README.md

README.md

LLVM Linker (lld)

This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.

lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.