History log of /bionic/tests/atexit_test.cpp
Revision Date Author Comments
1e79540807c692fa8dbd494dfe290c3aab85420e 16-Nov-2015 Chih-Hung Hsieh <chh@google.com> Enable clang to compile more tests.

* Disable optimization only in gtest.h of atexit_test.c for arm/aarch64
to keep VTT for std::__1::basic_stringstream<char, std::__1::char_traits<char>,
std::__1::allocator<char> > to link with g++ compiled modules.
* bionic-unit-tests source files are not affected by clang x86_64 fp128 bug
so they can be compiled with clang.

BUG: 25643775
Change-Id: I3da2a0de61edcdca07b7fcd73a16de9da4a1f7d6
4571f31bd49e4951c9f1e0ff642c74fd79fe740a 15-Aug-2014 Dmitriy Ivanov <dimitry@google.com> Add atexit test for attributed c-tor/d-tor

1. Add test for __attribute__((constructor/destructor))
and static constructor

2. Compile C++ testlibs with -std=gnu++11

Change-Id: I67f9308144a0c638a51f111fcba8e1933fe0ba41
214e64135ee22e8aa7f71e56e0f5662dc6746ad0 31-May-2014 Dmitriy Ivanov <dimitry@google.com> Make atexit.dlclose work for glibc

* build libtest_atexit.so
* remove atexit(NULL) - glibc segfaults on it

Bug: 15350494
Change-Id: I27d79130c32c5691b0e8790a57d92f9710f5bf4a
39036f655aee275f307b9557270e1364b0c6ef36 30-May-2014 Christopher Ferris <cferris@google.com> Do not run dlclose test on glibc.

The support library for this test is not built for host by default.
Even if the support library is built, the test segfaults on glibc.

Change-Id: I9cb7a364c59b55d4bf5d8634293037cd9bae020b
6396da98cb3313048ae9a8147523ed61f675fd50 06-May-2014 Dmitriy Ivanov <dimitry@google.com> Add missing test for atexit test suite.

Change-Id: I3d14d7df1da53ccef534c106633593551ab6a7cb
6b56691a678420477595a531b2d2829980eb51c0 29-Apr-2014 Dmitriy Ivanov <dimitry@google.com> Fixes for __cxa_finalize

* Ability to register atexit handler from atexit handler
* Correct way to handle both forms of atexit handler

Bug: https://code.google.com/p/android/issues/detail?id=66595
Bug: 4998315
Change-Id: I39529afaef97b6e1469c21389d54c0d7d175da28