forked from OSchip/llvm-project
Enhance basic store to also lazily symbolicate VarRegions
with an 'unknown' memory space. llvm-svn: 98110
This commit is contained in:
parent
e620178436
commit
7de5f32479
|
@ -142,7 +142,8 @@ SVal BasicStoreManager::LazyRetrieve(Store store, const TypedRegion *R) {
|
|||
|
||||
// Globals and parameters start with symbolic values.
|
||||
// Local variables initially are undefined.
|
||||
if (VR->hasGlobalsOrParametersStorage())
|
||||
if (VR->hasGlobalsOrParametersStorage() ||
|
||||
isa<UnknownSpaceRegion>(VR->getMemorySpace()))
|
||||
return ValMgr.getRegionValueSymbolVal(R);
|
||||
return UndefinedVal();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue