[Bug 238404] AddressSanitizer should intercept pthread_get_name_np (FreeBSD), not pthread_getname_np (Glibc) symbol
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 3 15:19:11 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238404
Mark Johnston <markj at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markj at FreeBSD.org
--- Comment #1 from Mark Johnston <markj at FreeBSD.org> ---
I suspect it would be simplest to just make pthread_(get|set)name_np() aliases
of pthread_(get|set)_name_np(). Linux and NetBSD use the former, FreeBSD and
OpenBSD use the latter.
We could just teach compiler-rt to intercept pthread_get_name_np(), but it's a
silly compatibility wart that will bite over and over I'm sure.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list