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 Thu, Nov 22, 2012 at 2:08 PM, Wei Mi <wmi@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 <jakub@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  <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

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.


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