On 11/6/20 8:34 AM, Martin Storsjö wrote:
On Fri, 6 Nov 2020, Liu Hao via Gcc-patches wrote:
在 2020/10/29 下午3:56, Liu Hao 写道:
I forward it here for comments.
Basing on the behavior of both GCC and Clang, `__cxa_thread_atexit`
is used to register the
destructor of thread_local objects directl
On Fri, 6 Nov 2020, Liu Hao via Gcc-patches wrote:
在 2020/10/29 下午3:56, Liu Hao 写道:
I forward it here for comments.
Basing on the behavior of both GCC and Clang, `__cxa_thread_atexit` is used to
register the
destructor of thread_local objects directly, suggesting the first parameter
should h
Ping?
在 2020/10/29 下午3:56, Liu Hao 写道:
> I forward it here for comments.
>
> Basing on the behavior of both GCC and Clang, `__cxa_thread_atexit` is used
> to register the
> destructor of thread_local objects directly, suggesting the first parameter
> should have `__thiscall`
> convention.
I forward it here for comments.
Basing on the behavior of both GCC and Clang, `__cxa_thread_atexit` is used to
register the
destructor of thread_local objects directly, suggesting the first parameter
should have `__thiscall`
convention.
libstdc++ used the default `__cdecl` convention and caused