summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-12 22:06:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-12 22:06:46 +0000
commit610616c279681aa195cdf63b6472bc811e7d75a0 (patch)
tree28adb2d780c4a9a3784ca5bf4f9a992983a3cd9d /lib/CodeGen/CGExprComplex.cpp
parent186b26d01f2876e8b4b1f0f233e13fc4c613cddc (diff)
downloadclang-610616c279681aa195cdf63b6472bc811e7d75a0.tar.gz
clang-610616c279681aa195cdf63b6472bc811e7d75a0.tar.bz2
clang-610616c279681aa195cdf63b6472bc811e7d75a0.tar.xz
Avoid producing mismatched comdats.
The problem was that given template<typename T> struct foo { ~foo() {} }; template class foo<int>; We would produce a alias, creating a comdat with D0 and D1, since the symbols have to be weak. Another TU is not required to have a explicit template instantiation definition or an explict template instantiation declaration and for template<typename T> struct foo { ~foo() {} }; foo<int> a; we would produce a comdat with only one symbol in it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions