mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
It was reported (https://reviews.llvm.org/D38724#902841) that when we use -ffunction-sections --emit-relocs build, REL[A] output section receives the name of first input section, like .rela.text.first_function_in_text rather than .rela.text. It is probably not really an issue as sh_info still points to correct target section, but it does not look clean in output and allows internal section name to leak there, what at least looks confusing and is not consistent with ld.bfd. Patch changes this behavior so that target output section name is used as a base. Differential revision: https://reviews.llvm.org/D39242 llvm-svn: 316760
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 4818e8d38961503a04a73597b0da1242c39efc9df2ceb6dfca4ed36845239863.