llvm-project/lld/lib/ReaderWriter
Rui Ueyama 61d7f97000 [PECOFF] Support COMDAT associative sections.
COFF supports a feature similar to ELF's section groups. This
patch implements it.

In ELF, section groups are identified by their names, and they are
treated somewhat differently from regular symbols. In COFF, the
feature is realized in a more straightforward way. A section can
have an annotation saying "if Nth section is linked, link this
section too."

I added a new reference type, kindAssociate. If a target atom is
coalesced away, the referring atom is removed by Resolver, so that
they are treated as a group.

Differential Revision: http://reviews.llvm.org/D4028

llvm-svn: 211106
2014-06-17 16:19:33 +00:00
..
ELF Update for llvm api change. 2014-06-13 17:20:48 +00:00
MachO Using llvm::sys::swapByteOrder() for the common case of byte-swapping a value in place 2014-06-14 13:26:14 +00:00
Native include system_error directly. 2014-06-12 17:15:58 +00:00
PECOFF [PECOFF] Support COMDAT associative sections. 2014-06-17 16:19:33 +00:00
YAML Update for llvm api change. 2014-06-13 17:20:48 +00:00
CMakeLists.txt [CMake] Use target_link_libraries(INTERFACE|PRIVATE) on CMake-2.8.12 to increase opportunity for parallel build. 2014-02-26 06:53:16 +00:00
CoreLinkingContext.cpp Move Simple.h and Alias.h to include/Core. 2014-06-11 21:47:51 +00:00
FileArchive.cpp Update for llvm api change. 2014-06-16 16:09:08 +00:00
LinkerScript.cpp [LinkerScript] parse OUTPUT_FORMAT : treat quotedStrings as identifier 2014-02-25 17:02:54 +00:00
Makefile Initial set of Makefiles 2014-06-04 09:54:07 +00:00
Reader.cpp [PECOFF] Support COMDAT associative sections. 2014-06-17 16:19:33 +00:00
Writer.cpp [lld][InputGraph] Change the Resolver to use inputGraph 2013-10-07 02:47:09 +00:00