Initial implementation of __cxa_thread_atexit_impl

This is initial implementations; does not yet handle
  dlclose - undefined behavior, needs linker support to
  handle it right.

Bug: 19800080
Bug: 16696563
Change-Id: I7a3e21ed7f7ec01e62ea1b7cb2ab253590ea0686
This commit is contained in:
Dmitriy Ivanov
2015-03-25 17:38:10 -07:00
parent 0c3b632bd6
commit df79c330d8
5 changed files with 151 additions and 1 deletions

View File

@@ -258,10 +258,12 @@ bionic-unit-tests_static_libraries := \
libtinyxml2 \
liblog \
# TODO: Include __cxa_thread_atexit_test.cpp to glibc tests once it is upgraded (glibc 2.18+)
bionic-unit-tests_src_files := \
atexit_test.cpp \
dl_test.cpp \
dlext_test.cpp \
__cxa_thread_atexit_test.cpp \
dlfcn_test.cpp \
bionic-unit-tests_cflags := $(test_cflags)