|
From: <sv...@va...> - 2009-10-20 18:13:36
|
Author: bart
Date: 2009-10-20 19:13:26 +0100 (Tue, 20 Oct 2009)
New Revision: 10904
Log:
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.
Modified:
trunk/drd/drd_mutex.c
Modified: trunk/drd/drd_mutex.c
===================================================================
--- trunk/drd/drd_mutex.c 2009-10-12 13:53:12 UTC (rev 10903)
+++ trunk/drd/drd_mutex.c 2009-10-20 18:13:26 UTC (rev 10904)
@@ -464,6 +464,8 @@
return "mutex";
case mutex_type_spinlock:
return "spinlock";
+ case mutex_type_order_annotation:
+ return "order annotation mutex";
default:
tl_assert(0);
}
|