Revert "Move copying of global initializers below the cloning of functions."
authorAdrian Prantl <aprantl@apple.com>
Sat, 9 Nov 2013 00:43:18 +0000 (00:43 +0000)
committerAdrian Prantl <aprantl@apple.com>
Sat, 9 Nov 2013 00:43:18 +0000 (00:43 +0000)
commit999ffb6085a6e24261680b41d4f43ad4ba8fd250
tree695a40407468402119f51eab06f7384f88ca03ff
parentab6f27c7ff043f393e1831d35f596b50be959cdb
Revert "Move copying of global initializers below the cloning of functions."

This would cause internal symbols that are only referenced by global initializers to be removed.

This reverts commit 194219.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194304 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp
unittests/Linker/CMakeLists.txt [deleted file]
unittests/Linker/LinkModulesTest.cpp [deleted file]
unittests/Linker/Makefile [deleted file]
unittests/Makefile