Fixed an assertion failure triggered by running DRD with the command-line option --trace-mutex=yes on a program using one of the ANNOTATE_HAPPENS_*() macros.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10904
This commit is contained in:
Bart Van Assche 2009-10-20 18:13:26 +00:00
parent cfbdee1dcc
commit ead7766abe

View File

@ -464,6 +464,8 @@ const char* DRD_(mutex_type_name)(const MutexT mt)
return "mutex";
case mutex_type_spinlock:
return "spinlock";
case mutex_type_order_annotation:
return "order annotation mutex";
default:
tl_assert(0);
}