OSDN Git Service

Now that PR11464 is fixed, reapply the patch to fix PR11464,
authorChris Lattner <sabre@nondot.org>
Tue, 20 Dec 2011 00:12:26 +0000 (00:12 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Dec 2011 00:12:26 +0000 (00:12 +0000)
commitea93373a0a1bf1d087f5414e566384c2af3ebf09
treeafc2a86539a087942520a754549a67365ec28710
parent68910509fdd638727ce2f244ab7c0e4346671de1
Now that PR11464 is fixed, reapply the patch to fix PR11464,
merging types by name when we can.  We still don't guarantee type name linkage
but we do it when obviously the right thing to do.  This makes LTO type names
easier to read, for example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146932 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp
test/Linker/link-type-names.ll [new file with mode: 0644]