llvm-project/lld
Rui Ueyama dd72278fea [PECOFF] Support COMDAT section that contains mergeable atoms.
The COMDAT section is a section with a special attribute to tell the linker
whether the symbols in the section are allowed to be merged or not. This patch
add a function to interpret the COMDAT data and set "merge" attribute to the
atoms accordingly.

LLD supports multiple policies to merge atoms; atoms can be merged by name or
by content. COFF supports them, and in addition to that, it supports
choose-the-largest-atom policy, which LLD currently does not support. I simply
mapped it to merge-by-name attribute for now, but we eventually have to support
that policy in the core linker.

llvm-svn: 188025
2013-08-08 23:31:50 +00:00
..
cmake/modules Add VTune as an optional external dependency and add task tracking. 2013-04-06 00:56:40 +00:00
docs Rename TargetInfo -> LinkingContext. 2013-08-06 22:31:59 +00:00
include/lld Rename TargetInfo -> LinkingContext. 2013-08-06 22:31:59 +00:00
lib [PECOFF] Support COMDAT section that contains mergeable atoms. 2013-08-08 23:31:50 +00:00
test [PECOFF] Support COMDAT section that contains mergeable atoms. 2013-08-08 23:31:50 +00:00
tools [lld]remove lld-core 2013-05-06 20:24:39 +00:00
unittests Rename TargetInfo -> LinkingContext. 2013-08-06 22:31:59 +00:00
utils Add basic linker script parsing. 2013-03-01 00:03:36 +00:00
.arcconfig Add .arcconfig for Phabricator command-line support 2013-01-03 02:15:37 +00:00
.gitignore docs: Sketch Sphinx based docs structure. 2012-04-06 21:02:20 +00:00
CMakeLists.txt [lld] Allow flags other than -std= in CMAKE_CXX_FLAGS. Also simplify the IF conditions. 2013-05-14 19:53:41 +00:00
LICENSE.TXT Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
README.md Test commit 2012-09-14 00:00:39 +00:00

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.