BasicStoreManager: Use SymbolManager::canSymbolicate() to determine if a variable can be symbolicated.
llvm-svn: 74750
This commit is contained in:
parent
6d9041100b
commit
24c8513022
|
@ -584,7 +584,7 @@ Store BasicStoreManager::BindDeclInternal(Store store, const VarDecl* VD,
|
|||
} else {
|
||||
// Process local scalar variables.
|
||||
QualType T = VD->getType();
|
||||
if (Loc::IsLocType(T) || T->isIntegerType()) {
|
||||
if (ValMgr.getSymbolManager().canSymbolicate(T)) {
|
||||
SVal V = InitVal ? *InitVal : UndefinedVal();
|
||||
store = BindInternal(store, getLoc(VD), V);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue