Make drd regtests work again following core changes. (Bart Van Assche)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7222
This commit is contained in:
Julian Seward 2007-11-26 00:11:04 +00:00
parent 73f9cade8f
commit e2b1e84659
3 changed files with 26 additions and 2 deletions

View File

@ -8,7 +8,7 @@
#include <fstream>
#include <cassert>
#include <pthread.h>
#include <stdio.h>.
#include <stdio.h>
static pthread_mutex_t s_mutex;
void* thread_func(void*)

View File

@ -9,7 +9,7 @@ $dir/../../tests/filter_stderr_basic |
# Remove libpthread's version number.
# Remove line numbers from stack traces.
sed \
-e "/^drd, a data race detector\.$/d" \
-e "/^exp-drd, a data race detector\.$/d" \
-e "/^NOTE: This is an Experimental-Class Valgrind Tool.$/d" \
-e "/^Copyright (C) 2006-200., and GNU GPL'd, by Bart Van Assche.$/d" \
-e "s/in [^ ]*libpthread-[0-9]*\.[0-9]*\.so/in libpthread-?.?.so/" \

View File

@ -75,6 +75,30 @@
fun:start_thread
fun:clone
}
{
pthread
exp-drd:ConflictingAccess
obj:/lib64/libpthread-2.6.1.so
fun:start_thread
fun:clone
}
{
pthread
exp-drd:ConflictingAccess
obj:/lib64/libc-2.6.1.so
fun:__libc_thread_freeres
fun:start_thread
fun:clone
}
{
pthread
exp-drd:ConflictingAccess
obj:/lib64/libc-2.6.1.so
obj:/lib64/libc-2.6.1.so
fun:__libc_thread_freeres
fun:start_thread
fun:clone
}
{
pthread
exp-drd:ConflictingAccess