hanchenye-llvm-project/lld
George Rimar 28f4fbe480 [ELF] - implemented --eh-frame-hdr command line option.
--eh-frame-hdr
Request creation of ".eh_frame_hdr" section and ELF "PT_GNU_EH_FRAME" segment header.

Both gold and the GNU linker support an option --eh-frame-hdr which tell them to construct a header for all the .eh_frame sections. This header is placed in a section named .eh_frame_hdr and also in a PT_GNU_EH_FRAME segment. At runtime the unwinder can find all the PT_GNU_EH_FRAME segments by calling dl_iterate_phdr.
This section contains a lookup table for quick binary search of FDEs.
Detailed info can be found here:
http://www.airs.com/blog/archives/462

Differential revision: http://reviews.llvm.org/D15712

llvm-svn: 257753
2016-01-14 10:30:32 +00:00
..
COFF COFF: Implement DLL symbol forwarding. 2016-01-09 01:22:00 +00:00
ELF [ELF] - implemented --eh-frame-hdr command line option. 2016-01-14 10:30:32 +00:00
cmake/modules
docs Update documents. 2015-11-20 22:47:42 +00:00
include/lld Move parsing of LLVM options to parse() method. 2015-12-16 20:53:27 +00:00
lib [old ELF] Remove AMDGPU target 2016-01-11 21:40:40 +00:00
test [ELF] - implemented --eh-frame-hdr command line option. 2016-01-14 10:30:32 +00:00
tools Rename ld.lld2 to ld.lld since it is the default. 2015-11-18 06:11:01 +00:00
unittests Fix DarwinLdDriverTest.cpp to pass real llvm options. 2015-12-16 21:24:46 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Set CMake ADDITIONAL_HEADER_DIRS on libraries with headers in /include. NFC. 2016-01-07 00:14:09 +00:00
CODE_OWNERS.TXT Add initial CODE_OWNERS.TXT file 2015-07-25 00:44:37 +00:00
LICENSE.TXT
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.