On Thu, Nov 22, 2012 at 2:08 PM, Wei Mi <w...@google.com> wrote: > Thanks. I checked in the code. > Committed revision 193736. > Committed revision 193737. > > Wei. > > On Thu, Nov 22, 2012 at 1:54 AM, Jakub Jelinek <ja...@redhat.com> 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. >>> >>> gcc/ChangeLog: >>> 2012-11-22 Dmitry Vyukov <dvyu...@google.com> >>> Wei Mi <w...@google.com> >>> >>> * 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 <w...@google.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. >> >> Jakub
It failed to bootstrap on Linux/i686: http://gcc.gnu.org/ml/gcc-regression/2012-11/msg00409.html It tried to build tsan on Linux/i686. -- H.J.