[Bug 215798] clang: please Include thread sanitizer (and all other available sanitizers)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 6 22:49:26 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215798
Dimitry Andric <dim at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dim at FreeBSD.org
--- Comment #1 from Dimitry Andric <dim at 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.
More information about the freebsd-toolchain
mailing list