llvm-capstone/lld
Rafael Espindola 9f0c4bb795 Parse relocations only once.
Relocations are the last thing that we wore storing a raw section
pointer to and parsing on demand.

With this patch we parse it only once and store a pointer to the
actual data.

The patch also changes where we store it. It is now in
InputSectionBase. Not all sections have relocations, but most do and
this simplifies the logic. It also means that we now only support one
relocation section per section. Given that that constraint is
maintained even with -r with gold bfd and lld, I think it is OK.

llvm-svn: 286459
2016-11-10 14:53:24 +00:00
..
cmake/modules
COFF Fix -Wcast-qual warnings. 2016-11-04 17:41:29 +00:00
docs
ELF Parse relocations only once. 2016-11-10 14:53:24 +00:00
include/lld Create a vector containing all input sections. 2016-11-05 22:37:59 +00:00
lib Create a vector containing all input sections. 2016-11-05 22:37:59 +00:00
test Parse relocations only once. 2016-11-10 14:53:24 +00:00
tools/lld Call _exit. 2016-10-26 18:59:00 +00:00
unittests
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
LICENSE.TXT
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.