This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC ThreadSanitizer testsuite
- From: Yury Gribov <y dot gribov at samsung dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Konstantin Serebryany <kcc at gcc dot gnu dot org>, Viacheslav Garbuzov <v dot garbuzov at samsung dot com>, Evgeny Gavrin <e dot gavrin at samsung dot com>
- Date: Mon, 02 Dec 2013 14:46:12 +0400
- Subject: Re: RFC ThreadSanitizer testsuite
- Authentication-results: sourceware.org; auth=none
- References: <529C5D56 dot 6090209 at samsung dot com> <20131202102547 dot GI892 at tucnak dot redhat dot com>
Jakub Jelinek wrote:
> The problem is that at least by default we
> don't want very expensive tests in the testsuite, whether it is runtime
> expensive or eats too much memory.
I see. We can only merge small tests then. From what I see in
compiler-rt/lib/tsan/lit_tests, most of the tests are rather short: fork
one or two threads, do something fast and simple (e.g. do unsynchronized
access), join and exit.
-Y