This matches the GCC behavior, __cxa_thread_atexit should be permissible
even though cxa_atexit is disabled.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang/lib/CodeGen/ItaniumCXXABI.cpp | ||
---|---|---|
2373 | It's fine to match the GCC behavior, and it's even somewhat explicable. Could you update the comment to explain, first of all, that this path handles both __cxa_atexit and __cxa_thread_atexit, and secondly that the option is only meant to control the former? |
It's fine to match the GCC behavior, and it's even somewhat explicable. Could you update the comment to explain, first of all, that this path handles both __cxa_atexit and __cxa_thread_atexit, and secondly that the option is only meant to control the former?