Fix to make sure that a comdat group gets generated correctly for a static member
authorAnton Korobeynikov <asl@math.spbu.ru>
Thu, 23 Feb 2012 10:36:04 +0000 (10:36 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Thu, 23 Feb 2012 10:36:04 +0000 (10:36 +0000)
commit1d2d5a0227d6f1381f3ffa9c331045bdfa409ee8
treea6b096b57b3587d595d21b0209af9fac8f086eeb
parentb2ad57a7020e3f2352519b6d75853825d79ca44f
Fix to make sure that a comdat group gets generated correctly for a static member
of instantiated C++ templates.

Patch by Kristof Beyls!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151250 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/CodeGen/ARM/odr_comdat.ll [new file with mode: 0644]
test/CodeGen/X86/odr_comdat.ll [new file with mode: 0644]