Change how we keep track of which types are in the dest module.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 1 Dec 2014 04:15:59 +0000 (04:15 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 1 Dec 2014 04:15:59 +0000 (04:15 +0000)
commit7a551b7c6dd012d67ddf27ab8d87c3e8742c5f11
tree408674a751f98058f90a65f57bc692a86cad77b3
parent805b8166cf77947bc0ad3a620e8ff35bc88b2cc2
Change how we keep track of which types are in the dest module.

Instead of keeping an explicit set, just drop the names of types we choose
to map to some other type.

This has the advantage that the name of the unused will not cause the context
to rename types on module read.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222986 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Linker/Linker.h
lib/Linker/LinkModules.cpp
test/Linker/type-unique-dst-types.ll