[PATCH] D49763: [CUDA] Call atexit() for CUDA destructor early on.

Joerg Sonnenberger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 24 15:52:08 PDT 2018


joerg added a comment.

Can this ever end up in a shared library? If yes, please use the normal logic for creating a global destructor. atexit is not very friendly to dlopen...


https://reviews.llvm.org/D49763





More information about the cfe-commits mailing list