]> granicus.if.org Git - clang/commit
PR42182: Allow thread-local to use __cxa_thread_atexit when
authorErich Keane <erich.keane@intel.com>
Thu, 13 Jun 2019 18:20:19 +0000 (18:20 +0000)
committerErich Keane <erich.keane@intel.com>
Thu, 13 Jun 2019 18:20:19 +0000 (18:20 +0000)
commit552d41903d2003e01030581ecc51222be9707e8b
tree11ef2fb6c994ffc1ad162c59c70a6b35bca5b140
parent863e1f381d04960642c9d7b83acb3b8b55707899
PR42182: Allow thread-local to use __cxa_thread_atexit when
-fno-use-cxx-atexit is used

This matches the GCC behavior, __cxa_thread_atexit should be permissible
even though cxa_atexit is disabled.

Differential Revision: https://reviews.llvm.org/D63283/

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363288 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ItaniumCXXABI.cpp
test/CodeGenCXX/cxx11-thread-local.cpp