http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60055
--- Comment #4 from Maxim Ostapenko <chefmax at gcc dot gnu.org> --- (In reply to Dmitry Vyukov from comment #3) > Hi, > > Does this work for you > http://llvm.org/viewvc/llvm-project?view=revision&revision=200747 > ? > > These callbacks are intended for very specific usages. I am curious how do > you want to use them? We use these callbacks in tsan test g++.dg/tsan/default_options.C. I guess we'll wait for next merge with LLVM libsanitizer to get this fix.