]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
priv/guest_generic_bb_to_IR.c stmt_is_guardable(): Add Ist_Dirty.
authorMark Wielaard <mark@klomp.org>
Wed, 15 Jan 2020 16:43:15 +0000 (17:43 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 15 Jan 2020 17:11:24 +0000 (18:11 +0100)
This might happen when the source contains something like
if (something_involving_pcmpxstrx && foo) { .. }
which might use amd64g_dirtyhelper_PCMPxSTRx.

VEX/priv/guest_generic_bb_to_IR.c

index 507c75e530c8b395121c2c4f5ff0cb11cdd64241..6361725bbf2331c2a016ef3e71fe64cb21cbac41 100644 (file)
@@ -462,6 +462,7 @@ static Bool stmt_is_guardable ( const IRStmt* st )
       case Ist_Store:
       case Ist_StoreG:
       case Ist_Exit:
+      case Ist_Dirty:
          return False;
       // This is probably guardable, but it depends on the RHS of the
       // assignment.