Allow globals to be of different const'nesses when we link.
authorChris Lattner <sabre@nondot.org>
Sat, 12 Feb 2005 19:20:28 +0000 (19:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 12 Feb 2005 19:20:28 +0000 (19:20 +0000)
commite6f8c5a71682ffcc33d3c83a40821ded8f2c8033
tree8858ba701e93a9adfe2e77f1711fa479cff172c7
parent5b7dcaa96be8da5c2fd5311994c759dc6db7c8c4
Allow globals to be of different const'nesses when we link.
This finally resolves PR502, PR450,
and test/Regression/Linker/2005-02-12-ConstantGlobals{,-2}.ll correctly

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