when linking globals, make sure to preserve the address space of the global.
authorChris Lattner <sabre@nondot.org>
Fri, 27 Jun 2008 03:10:24 +0000 (03:10 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 27 Jun 2008 03:10:24 +0000 (03:10 +0000)
commita534b0f7bf0248bf90afe97110a34777e972f325
tree2553587f112f8c7792cf81db239c569e48ea8852
parent83b28890d8dc3f442a10b91b04fc59ceeec3c21f
when linking globals, make sure to preserve the address space of the global.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52810 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp
test/Linker/2008-06-26-AddressSpace.ll [new file with mode: 0644]