]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DRD: Handle Imbe_CancelReservation properly (clrex on ARM)
authorBart Van Assche <bvanassche@acm.org>
Thu, 18 Sep 2014 07:11:24 +0000 (07:11 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 18 Sep 2014 07:11:24 +0000 (07:11 +0000)
This was reported by Florian and was detected by analyzing the
compiler output with -Wswitch-enum enabled.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14549

drd/drd_load_store.c

index 973bdda925ecc4e180cfe3eee504995c654025c8..afb88e16fd20e3de68bdf5dcc1df92053fd5cc94 100644 (file)
@@ -633,7 +633,9 @@ IRSB* DRD_(instrument)(VgCallbackClosure* const closure,
          switch (st->Ist.MBE.event)
          {
          case Imbe_Fence:
-            break; /* not interesting */
+            break; /* not interesting to DRD */
+         case Imbe_CancelReservation:
+            break; /* not interesting to DRD */
          default:
             tl_assert(0);
          }