[Lldb-commits] [PATCH] D29288: Switch std::call_once to llvm::call_once
Kamil Rytarowski via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 30 09:42:26 PST 2017
krytarowski added a comment.
I can build and test this patch on NetBSD/amd64.
I don't have access right now to a performant FreeBSD, Linux, Android, Windows and FreeBSD hosts to test build and execute tests for this patch on other platforms. Please check.
I was in touch with `libstdc++` developers and the reason why `std::call_once` crashes is still cryptic. A combination of TLS, shared library and pointer to a function passed to `pthread_once`(3) results in a crash. Switch LLDB to the standard LLVM wrapper for `std::cal_once`.
Few months back discussed with @mehdi_amini in the context of LLVM.
More information about the lldb-commits