History log of /external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
87d948ecccffea9e9e37d0d053b246e2d6d6c47b 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master clang for rebase to r256229

http://b/26987366

Change-Id: I5d349c9843ea5c24d6e455956f8a446393b6873d
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
b6d6993e6e6d3daf4d9876794254d20a134e37c2 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master clang for rebase to r239765

Change-Id: I0393bcc952590a7226af8c4b58534a8ee5fd2d99
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
0e2c34f92f00628d48968dfea096d36381f494cb 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master clang for rebase to r230699.

Change-Id: I6a546ab3d4ae37119eebb735e102cca4f80ab520
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
176edba5311f6eff0cad2631449885ddf4fbc9ea 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master Clang for rebase to r222490.

Change-Id: Ic557ac55e97fbf6ee08771c7b7c3594777b0aefd
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
c568f1e98938584c0ef0b12ae5018ff7d90a4072 21-Jul-2014 Stephen Hines <srhines@google.com> Update Clang for rebase to r212749.

This also fixes a small issue with arm_neon.h not being generated always.

Includes a cherry-pick of:
r213450 - fixes mac-specific header issue
r213126 - removes a default -Bsymbolic on Android

Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 29-May-2014 Stephen Hines <srhines@google.com> Update Clang for 3.5 rebase (r209713).

Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
cc05778672e43c2851849d12200c70e00be5ecd5 25-Nov-2013 Bill Wendling <isanbard@gmail.com> Merging r195501:
------------------------------------------------------------------------
r195501 | joerg | 2013-11-22 13:34:35 -0800 (Fri, 22 Nov 2013) | 5 lines

Adjust r194296 to not apply the alias replacement for externally
available always-inline functions. This breaks libc++'s locale
implementation. Code generation for this case should be fixed, but this
is a stop gap fix for clang 3.4.

------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@195615 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
dc8e93803de63a938ca42b5de0305e75783e6884 14-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> Don't use alias from derived dtor to base dtor at -O0.

This patch disables aliasing (and rauw) of derived dtors to base dtors at -O0.
This optimization can have a negative impact on the debug quality.

This was a latent bug for some time with local classes, but got noticed when it
was generalized and broke gdb's destrprint.exp.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
610616c279681aa195cdf63b6472bc811e7d75a0 12-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> 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
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
964bfa1f2075a318ea0438f9ae3df6c4d4e923a9 11-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> Add a testcase where we replace a destructor with an alias.

This is a reduced testcase from a cast to Function failing during bootstrap.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
47a2ab904faf4bbf3a97fc7172c549db1c1f3090 11-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> Fix pr17875.

The assert this patch deletes was valid only when aliasing D2 to D1, not when
looking at a base class. Since the assert was in the path where we had already
decided to not produce an alias, just drop it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
6e84e92f72f0634cf9f43767444d48dcf99c0121 09-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> 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
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
1b9c0248527cb13638c80939c4029ba1197d7599 09-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> Use rauw for all discardable aliases, not just linkonce_odr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
0171c6b348815df326a063c7e78eb81b7347fa25 08-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> If a linkonce_odr dtor/ctor is identical to another one, just rauw.

Unlike an alias a rauw is always safe, so we don't need to avoid this
optimization when the replacement is not know to be available in every TU.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
61a0a7519ee0d26334d30a001501b8c443d36975 05-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> Produce direct calls instead of alias to linkonce_odr functions.

This is a small optimization on linux, but should help more on windows
where msvc only outputs one destructor if there would be two identical ones.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
583f6de423aa42c8a4894cc64e72036484e6343b 05-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> Revert "Produce direct calls instead of alias to linkonce_odr functions."

This reverts commit r194046.
Debugging a bootstrap issue.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194047 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
0f0f6f1d2994b6da9c347ffb9740c4eea81ff6bc 05-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> Produce direct calls instead of alias to linkonce_odr functions.

This is a small optimization on linux, but should help more on windows
where msvc only outputs one destructor if there would be two identical ones.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194046 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
71fdc127d21bb138b4bbc2b2ce1db460715271f1 04-Nov-2013 Rafael Espindola <rafael.espindola@gmail.com> Use aliases for more constructors and destructors.

With this patch we produce alias for cases like

template<typename T>
struct foobar {
foobar() {
}
};
template struct foobar<void>;

We just have to be careful to produce the same aliases in every TU because
of comdats.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/ctor-dtor-alias.cpp