Implement declaration merging for variables in disjoint modules.

llvm-svn: 147535
4 files changed