This is the mail archive of the
mailing list for the GCC project.
Re: [tsan] ThreadSanitizer instrumentation part
On Thu, Nov 22, 2012 at 2:08 PM, Wei Mi <email@example.com> wrote:
> Thanks. I checked in the code.
> Committed revision 193736.
> Committed revision 193737.
> On Thu, Nov 22, 2012 at 1:54 AM, Jakub Jelinek <firstname.lastname@example.org> wrote:
>> On Wed, Nov 21, 2012 at 11:22:51PM -0800, Wei Mi wrote:
>>> I update the tsan patch against trunk, and create libtsan patch.
>>> Please see if it is ok.
>>> 2012-11-22 Dmitry Vyukov <email@example.com>
>>> Wei Mi <firstname.lastname@example.org>
>>> * builtins.def (DEF_SANITIZER_BUILTIN): Define tsan builtins.
>>> * sanitizer.def: Ditto.
>>> * Makefile.in (tsan.o): Add tsan.o target.
>>> (BUILTINS_DEF): Add sanitizer.def.
>>> * passes.c (init_optimization_passes): Add tsan passes.
>>> * tree-pass.h (register_pass_info): Ditto.
>>> * toplev.c (compile_file): Ditto.
>>> * doc/invoke.texi: Document tsan related options.
>>> * gcc.c (LINK_COMMAND_SPEC): Add LIBTSAN_SPEC in link command
>>> if -fsanitize=thread.
>>> * tsan.c: New file about tsan.
>>> * tsan.h: Ditto.
>>> * common.opt: Add -fsanitize=thread.
>>> 2012-11-22 Wei Mi <email@example.com>
>>> * tsan: New directory. Import tsan runtime from llvm.
>>> * configure.ac: Add 64 bits tsan build.
>>> * Makefile.am: Likewise.
>>> * configure: Regenerated.
>>> * Makefile.in: Likewise.
>> Ok, thanks. The comments can be fixed up incrementally.
It failed to bootstrap on Linux/i686:
It tried to build tsan on Linux/i686.