[PATCH] D43080: Addind Msan support to FreeBSD

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 02:11:41 PST 2018


devnexen added inline comments.


================
Comment at: lib/msan/msan.cc:145
     cf.check_printf = false;
+#if !SANITIZER_FREEBSD
     cf.intercept_tls_get_addr = true;
----------------
devnexen wrote:
> krytarowski wrote:
> > devnexen wrote:
> > > krytarowski wrote:
> > > > What's wrong with tls?
> > > It s not working (e.g. the sanitizer get stuck and returns wrong base address)
> > This shall be fixed instead of papering it over.
> Fair point.
I think I found the root cause ... recursion calls ... not initial-exec kind. If I add the proper flag it seems workable ... but need to recompile and further testing.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D43080





More information about the llvm-commits mailing list