Use MapValue in the Linker instead of having a private function
which does the same thing. This eliminates redundant code and
handles MDNodes better. MDNode linking still doesn't fully
work yet though.

llvm-svn: 111941
GitOrigin-RevId: a209503467ffbb46068646a46780738041da49a1
5 files changed