Skip declarations in the case of functions.
authorMichael Ilseman <milseman@apple.com>
Tue, 9 Dec 2014 08:20:06 +0000 (08:20 +0000)
committerMichael Ilseman <milseman@apple.com>
Tue, 9 Dec 2014 08:20:06 +0000 (08:20 +0000)
commitebaf61e498dd3f795adf87eab10542636d07bff1
tree7a0ddd59ba9ded405cfdbd953861e01cbaec88bd
parentd5578c8ba3eec7cbc4714de861dab906bc3141b1
Skip declarations in the case of functions.

This is a revert of r223521 in spirit, if not in content. I am not
sure why declarations ended up in LazilyLinkGlobalValues in the first
place; that will take some more investigation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223763 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp