fix bug
authorweiyu <weiyuluo1232@gmail.com>
Tue, 30 Jul 2019 00:56:55 +0000 (17:56 -0700)
committerweiyu <weiyuluo1232@gmail.com>
Tue, 30 Jul 2019 00:56:55 +0000 (17:56 -0700)
CDSPass.cpp

index 6ec6dd2..432d98f 100644 (file)
@@ -746,7 +746,7 @@ bool CDSPass::instrumentAtomicCall(CallInst *CI, const DataLayout &DL) {
 
                return true;
        } else if (funName.contains("atomic") && 
-                                       funName.contains("EEEE5store") ) {
+                                       funName.contains("store") ) {
                // does this version of call always have an atomic order as an argument?
                Value *OrigVal = parameters[1];