Make sure the const bit gets inherited correctly when linking declarations
authorChris Lattner <sabre@nondot.org>
Tue, 5 Oct 2004 02:28:11 +0000 (02:28 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 Oct 2004 02:28:11 +0000 (02:28 +0000)
commitd4984cca0ec95b3602955b8e41260d0d8b882129
treeea51cb4fc72dfc13854c4261fe497f2137a3c2fa
parent5e4f2991a05d276a1f81f0e04418df1e82ac358c
Make sure the const bit gets inherited correctly when linking declarations
of disagreeing constness.  This fixes
test/Regression/Linker/ConstantGlobals[123].ll

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