hanchenye-llvm-project/lld
Peter Collingbourne 0fab40b915 ELF: Simplify handling of *_start/*_end symbols.
We were previously using the (static) addSynthetic function to create
*_start/*_end symbols. This function was doing almost the same thing as
addOptionalSynthetic, except that it would also create the symbol in the
case where it is unreferenced. Because the symbol has hidden visibility,
creating it in that case would have no effect other than adding another
entry to the static symbol table. Remove addSynthetic and change callers to
use addOptionalSynthetic instead.

Differential Revision: https://reviews.llvm.org/D25545

llvm-svn: 285021
2016-10-24 20:46:21 +00:00
..
COFF [CMake] Add missing dependency on intrinsics_gen 2016-10-18 00:50:39 +00:00
ELF ELF: Simplify handling of *_start/*_end symbols. 2016-10-24 20:46:21 +00:00
cmake/modules
docs Update document. 2016-10-20 05:35:25 +00:00
include/lld Remove std:: from std::size_t. 2016-10-20 01:33:09 +00:00
lib Adjust for TimePoint interface change in llvm: D25730. NFC 2016-10-24 10:59:14 +00:00
test ELF: Simplify handling of *_start/*_end symbols. 2016-10-24 20:46:21 +00:00
tools/lld Use StringSwitch::Cases. NFC. 2016-09-29 22:54:31 +00:00
unittests [Cmake] Use Cmake's default RPATH for unittest. 2016-09-12 20:44:53 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.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.