llvm-project/llvm/lib/Linker
Duncan Sands dd7daee850 Factor code to copy global value attributes like
the section or the visibility from one global
value to another: copyAttributesFrom.  This is
particularly useful for duplicating functions:
previously this was done by explicitly copying
each attribute in turn at each place where a
new function was created out of an old one, with
the result that obscure attributes were regularly
forgotten (like the collector or the section).
Hopefully now everything is uniform and nothing
is forgotten.

llvm-svn: 51567
2008-05-26 19:58:59 +00:00
..
LinkArchives.cpp Fix thinko: alias always defines new symbol. Even is aliasee itself is undefined. 2008-03-11 00:24:53 +00:00
LinkItems.cpp Emit an error when a library is not found. It is the GNU ld behavior and it is expected by the configure scripts. 2008-02-27 17:20:32 +00:00
LinkModules.cpp Factor code to copy global value attributes like 2008-05-26 19:58:59 +00:00
Linker.cpp Change the MemoryBuffer::getFile* methods to take just a pointer to the 2008-04-01 18:04:03 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00