Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jun 2020 15:19:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 238404] AddressSanitizer should intercept pthread_get_name_np (FreeBSD), not pthread_getname_np (Glibc) symbol
Message-ID:  <bug-238404-29464-eaawrwnlhs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238404-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238404-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238404

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
I suspect it would be simplest to just make pthread_(get|set)name_np() alia=
ses
of pthread_(get|set)_name_np().  Linux and NetBSD use the former, FreeBSD a=
nd
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238404-29464-eaawrwnlhs>