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.
>
> gcc/ChangeLog:
> 2012-11-22 Dmitry Vyukov <[email protected]>
> Wei Mi <[email protected]>
>
> * 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.
>
> libsanitizer/ChangeLog:
> 2012-11-22 Wei Mi <[email protected]>
>
> * 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.
Jakub