llvm-project/lld/lib
Rafael Auler b722e31906 Reapply [ELF] Only mark as DT_NEEDED libs that are strictly necessary (r219353)
When committed in r219353, this patch originally caused problems because it was
not tested in debug build. In such scenarios, Driver.cpp adds two additional
passes. These passes serialize all atoms via YAML and reads it back. Since the
patch changed ObjectAtom to hold a new reference, the serialization was removing
the extra data.

This commit implements r219853 in another way, similar to the original MIPS way,
by using a StringSet that holds the names of all copied atoms instead of
directly holding a reference to the copied atom. In this way, this commit is
simpler and eliminate the necessity of changing the DefinedAtom hierarchy to
hold a new data.

Reviewers: shankarke

http://reviews.llvm.org/D5713

llvm-svn: 219449
2014-10-09 22:06:38 +00:00
..
Config Add support to print version. 2014-10-08 03:47:51 +00:00
Core PE/COFF: add a check to ensure that we dont mix up architectures 2014-10-05 23:43:59 +00:00
Driver [PECOFF] Emit the delay-import table 2014-10-09 02:48:14 +00:00
Passes Fixes wrong Twine uses in FileNode::errStr() and in LayoutPass.cpp 2014-09-18 23:21:39 +00:00
ReaderWriter Reapply [ELF] Only mark as DT_NEEDED libs that are strictly necessary (r219353) 2014-10-09 22:06:38 +00:00
CMakeLists.txt Add support to print version. 2014-10-08 03:47:51 +00:00
Makefile Add support to print version. 2014-10-08 03:47:51 +00:00