ClickHouse/libs/libglibc-compatibility/libcxxabi
2018-09-14 04:56:56 +03:00
..
cxa_thread_atexit.cpp More simple [#CLICKHOUSE-3989] 2018-09-14 04:53:50 +03:00
LICENSE.TXT Added license and readme [#CLICKHOUSE-3989] 2018-09-14 02:42:57 +03:00
README.txt Renamed README.md to .txt [#CLICKHOUSE-3989] 2018-09-14 03:03:28 +03:00

Imported from https://github.com/llvm-project/llvm-project-20170507
revision: ad82e63b9719923cb393bd805730eaca0e3632a8

This is the replacement for "__cxa_thread_atexit" function provided by your compiler.
It is needed to avoid linking with "__cxa_thread_atexit_impl" function, that require too new (2.18) glibc library.

Note: "__cxa_thread_atexit_impl" may provide sophisticated implementation to correct destruction of thread-local objects,
that was created in different DSO. Read https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables
We simply don't need this implementation, because we don't use thread-local objects from different DSO.