Use __thread keyword for Android NDK r12b+ Clang (arm)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 9 Mar 2017 22:03:05 +0000 (01:03 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 9 Mar 2017 22:03:05 +0000 (01:03 +0300)
commit523cb84ebc8d8a3ef717dfff8aaab4d4e8b0df5d
treee90985a48c3529b71730a9a4ff048b7ab09e7d84
parentbca126324d161bf3fdbe97bbe923b45d1a322696
Use __thread keyword for Android NDK r12b+ Clang (arm)

* include/private/gcconfig.h (GC_CLANG_PREREQ_FULL): New macro (to check
the required patch_level of Clang).
* include/private/thread_local_alloc.h [PLATFORM_ANDROID && ARM32]
(USE_COMPILER_TLS): Define for clang-3.8.256229 or later.
include/private/gcconfig.h
include/private/thread_local_alloc.h