hanchenye-llvm-project/lld
Rafael Espindola 95f8d303ab Use OffsetMap in getSectionPiece.
OffsetMap maps to a SectionPiece index, but we were not taking
advantage of that in getSectionPiece.

With this patch both getOffset and getSectionPiece use OffsetMap and
the binary search is moved to findSectionPiece.

llvm-svn: 329044
2018-04-03 04:06:14 +00:00
..
COFF [lld-link] Add comment explaining that /FIXED behavior is correct despite contradicting MSDN. 2018-03-30 17:17:04 +00:00
Common Make sure that clang-format doesn't reorder include files. 2018-02-28 21:32:24 +00:00
ELF Use OffsetMap in getSectionPiece. 2018-04-03 04:06:14 +00:00
MinGW [MinGW] Add support for the GNU ld flag --kill-at 2018-03-14 20:17:24 +00:00
cmake/modules [CMake] Properly conditionalize installation of lld libraries 2018-03-09 13:09:36 +00:00
docs Update man page for long opts that accept = after r326506 2018-03-02 02:57:12 +00:00
include/lld Merge {COFF,ELF}/Strings.cpp to Common/Strings.cpp. 2018-02-28 17:38:19 +00:00
lib Fix build broken by llvm r327486 2018-03-14 09:57:52 +00:00
test Define TrapInst for ppc64. 2018-04-02 21:11:13 +00:00
tools/lld Remove "--full-shutdown" and instead use an environment variable LLD_IN_TEST. 2018-02-16 23:41:48 +00:00
unittests
utils
wasm [WebAssembly] Error if both --export-table and --import-table are specified. 2018-03-30 16:06:14 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
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.

Benchmarking

In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.

It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz

The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.