This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tsan] ThreadSanitizer instrumentation part


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  <dvyukov@google.com>
>             Wei Mi  <wmi@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  <wmi@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]