Also copy private linkage globals when needed.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 2 Dec 2015 20:57:33 +0000 (20:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 2 Dec 2015 20:57:33 +0000 (20:57 +0000)
commite39a7a693345e4633edf72e1251ddd5982658724
tree5d43569220072520a8ef6a32d1fbe43f3381fc84
parent78c3317f0f7bbe25dca1dc5cb65f750f060b3285
Also copy private linkage globals when needed.

This was an omission when handling COFF style comdats with local keys.
Should fix the sanitizer-windows bot.

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