make a conjured symbol as the original code.
llvm-svn: 68691
This commit is contained in:
parent
bcd2632638
commit
40934cfa9b
|
|
@ -1760,8 +1760,8 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst,
|
||||||
QualType T = R->getRValueType(Ctx);
|
QualType T = R->getRValueType(Ctx);
|
||||||
|
|
||||||
if (Loc::IsLocType(T) || (T->isIntegerType() && T->isScalarType())){
|
if (Loc::IsLocType(T) || (T->isIntegerType() && T->isScalarType())){
|
||||||
SVal V = SVal::GetRValueSymbolVal(Eng.getSymbolManager(),
|
SVal V = SVal::GetConjuredSymbolVal(Eng.getSymbolManager(),
|
||||||
Eng.getStoreManager().getRegionManager(), R);
|
Eng.getStoreManager().getRegionManager(), *I, Count);
|
||||||
state = state.BindLoc(Loc::MakeVal(R), V);
|
state = state.BindLoc(Loc::MakeVal(R), V);
|
||||||
}
|
}
|
||||||
else if (const RecordType *RT = T->getAsStructureType()) {
|
else if (const RecordType *RT = T->getAsStructureType()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue