We cannot get precise lvalue for symbolic base array region.
llvm-svn: 58243
This commit is contained in:
parent
c6db58a6bd
commit
36d4ade4be
|
|
@ -168,6 +168,9 @@ SVal RegionStoreManager::getLValueElement(const GRState* St,
|
|||
if (Base.isUnknownOrUndef())
|
||||
return Base;
|
||||
|
||||
if (isa<loc::SymbolVal>(Base))
|
||||
return Base;
|
||||
|
||||
loc::MemRegionVal& BaseL = cast<loc::MemRegionVal>(Base);
|
||||
|
||||
// We expect BaseR is an ElementRegion, not a base VarRegion.
|
||||
|
|
|
|||
Loading…
Reference in New Issue