]> granicus.if.org Git - clang/commit
Don't emit an internal destructor that is identical to an external one.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 9 Nov 2013 01:57:21 +0000 (01:57 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 9 Nov 2013 01:57:21 +0000 (01:57 +0000)
commit6e84e92f72f0634cf9f43767444d48dcf99c0121
tree1486513680396d0c56f42804238603d73ab3211e
parent11d10c32c9f2a893dc101cb9ed12bcd30d9cf1f8
Don't emit an internal destructor that is identical to an external one.

It is not safe to emit alias to undefined (not supported by ELF or COFF), but
it is safe to rauw when the alias would have been internal or linkonce_odr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194307 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
test/CodeGenCXX/ctor-dtor-alias.cpp