krytarowski added inline comments.
================ Comment at: packages/Python/lldbsuite/test/tools/lldb-server/thread-name/main.cpp:6 +#if defined(__linux__) || defined(__NetBSD__) + ::pthread_setname_np(::pthread_self(), name); +#elif defined(__FreeBSD__) ---------------- I overlooked it. ``` int pthread_setname_np(pthread_t thread, const char *name, void *arg); ``` It should be: ``` ::pthread_setname_np(::pthread_self(), "%s", name); ``` https://reviews.llvm.org/D30981 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits