forked from OSchip/llvm-project
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);
|
||||
|
||||
if (Loc::IsLocType(T) || (T->isIntegerType() && T->isScalarType())){
|
||||
SVal V = SVal::GetRValueSymbolVal(Eng.getSymbolManager(),
|
||||
Eng.getStoreManager().getRegionManager(), R);
|
||||
SVal V = SVal::GetConjuredSymbolVal(Eng.getSymbolManager(),
|
||||
Eng.getStoreManager().getRegionManager(), *I, Count);
|
||||
state = state.BindLoc(Loc::MakeVal(R), V);
|
||||
}
|
||||
else if (const RecordType *RT = T->getAsStructureType()) {
|
||||
|
|
Loading…
Reference in New Issue