r183839 - in /branches/google/gcc-4_6/gcc: Chan...

dvyukov@gcc.gnu.org dvyukov@gcc.gnu.org
Thu Feb 2 16:55:00 GMT 2012


Author: dvyukov
Date: Thu Feb  2 16:55:56 2012
New Revision: 183839

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183839
Log:
2012-02-02  Dmitry Vyukov  <dvyukov@google.com>

	Backport ThreadSanitizer (tsan) instrumentation pass from google/main.

        * tree-tsan.c: New file.
        * tree-tsan.h: New file.
        * tree-pass.h: Add tsan pass.
        * passes.c: Add tsan pass.
        * toplev.c (compile_file): Call tsan_finish_file.
        * common.opt: Add -ftsan, -ftsan-ignore flags.
        * doc/invoke.texi: Document the new flags.
        * Makefile.in: Add tree-tsan.c.
        * testsuite/gcc.dg/tsan.h: New file.
        * testsuite/gcc.dg/tsan-mop.c: New file.
        * testsuite/gcc.dg/tsan-stack.c: New file.
        * testsuite/gcc.dg/tsan-ignore.c: New file.
        * testsuite/gcc.dg/tsan-ignore.h: New file.
        * testsuite/gcc.dg/tsan-ignore.ignore: New file.


Added:
    branches/google/gcc-4_6/gcc/testsuite/gcc.dg/tsan-ignore.c
    branches/google/gcc-4_6/gcc/testsuite/gcc.dg/tsan-ignore.h
    branches/google/gcc-4_6/gcc/testsuite/gcc.dg/tsan-ignore.ignore
    branches/google/gcc-4_6/gcc/testsuite/gcc.dg/tsan-mop.c
    branches/google/gcc-4_6/gcc/testsuite/gcc.dg/tsan-stack.c
    branches/google/gcc-4_6/gcc/testsuite/gcc.dg/tsan.h
    branches/google/gcc-4_6/gcc/tree-tsan.c
    branches/google/gcc-4_6/gcc/tree-tsan.h
Modified:
    branches/google/gcc-4_6/gcc/ChangeLog.google-4_6
    branches/google/gcc-4_6/gcc/Makefile.in
    branches/google/gcc-4_6/gcc/common.opt
    branches/google/gcc-4_6/gcc/doc/invoke.texi
    branches/google/gcc-4_6/gcc/passes.c
    branches/google/gcc-4_6/gcc/toplev.c
    branches/google/gcc-4_6/gcc/tree-pass.h



More information about the Gcc-cvs mailing list