Date: Fri, 06 Jan 2017 22:49:26 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 215798] clang: please Include thread sanitizer (and all other available sanitizers) Message-ID: <bug-215798-29464-4nPeOAYUmE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-215798-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-215798-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=215798 Dimitry Andric <dim@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #1 from Dimitry Andric <dim@FreeBSD.org> --- The problem is that the thread sanitizer currently does not work on FreeBSD. This has to do with the way thread sanitizer attempts to initialize very early during program startup, and it conflicts with jemalloc's early initialization. This leads to an endless recursion, and a stack overflow. For thread sanitizer to work properly, it looks like we will need some sort of hook in libc, which can be used to initialize thread sanitizer before jemalloc is initialized. I have limited time, so I have not yet worked on this. Patches are welcome. :-) -- 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-215798-29464-4nPeOAYUmE>
