Add FIXME.

llvm-svn: 76466
This commit is contained in:
Ted Kremenek 2009-07-20 20:38:59 +00:00
parent 2dd0bf8db0
commit a1f9c7fb3b
1 changed files with 5 additions and 0 deletions

View File

@ -1310,6 +1310,11 @@ static bool EvalOSAtomicCompareAndSwap(ExplodedNodeSet<GRState>& Dst,
const GRState *stateLoad = N->getState();
SVal theValueVal = stateLoad->getSVal(theValueExpr);
SVal oldValueVal = stateLoad->getSVal(oldValueExpr);
// FIXME: Issue an error.
if (theValueVal.isUndef() || oldValueVal.isUndef()) {
return false;
}
// Perform the comparison.
SVal Cmp = Engine.EvalBinOp(stateLoad, BinaryOperator::EQ, theValueVal,