]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
HG_(instrument): don't assert on Imbe_SnoopedStore{Begin,End}.
authorJulian Seward <jseward@acm.org>
Thu, 18 Dec 2008 01:20:11 +0000 (01:20 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 18 Dec 2008 01:20:11 +0000 (01:20 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8838

helgrind/hg_main.c

index 9091ba00aa801ae1282b603fc4f14662b8f8fa63..328a273c8cae4914127127bf331f51fcfdf5b953 100644 (file)
@@ -3653,6 +3653,11 @@ IRSB* hg_instrument ( VgCallbackClosure* closure,
                   tl_assert(x86busLocked == True);
                   x86busLocked = False;
                   break;
+               case Imbe_SnoopedStoreBegin:
+               case Imbe_SnoopedStoreEnd:
+                  /* These arise from ppc stwcx. insns.  They should
+                     perhaps be handled better. */
+                  break;
                default:
                   goto unhandled;
             }