summaryrefslogtreecommitdiffstats
path: root/polly
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-05-03 05:47:31 +0000
committerJordan Rose <jordan_rose@apple.com>2013-05-03 05:47:31 +0000
commit320fbf057c7bcdfd45b90747a9acf93cde93ec38 (patch)
tree9e5b98b69c73b4aa4af0bedbd6226d8527d39b9e /polly
parentcea47b78fcaa21c076ff16c00e74a33ba827b72a (diff)
downloadbcm5719-llvm-320fbf057c7bcdfd45b90747a9acf93cde93ec38.tar.gz
bcm5719-llvm-320fbf057c7bcdfd45b90747a9acf93cde93ec38.zip
[analyzer] Check the stack frame when looking for a var's initialization.
FindLastStoreBRVisitor is responsible for finding where a particular region gets its value; if the region is a VarRegion, it's possible that value was assigned at initialization, i.e. at its DeclStmt. However, if a function is called recursively, the same DeclStmt may be evaluated multiple times in multiple stack frames. FindLastStoreBRVisitor was not taking this into account and just picking the first one it saw. <rdar://problem/13787723> llvm-svn: 180997
Diffstat (limited to 'polly')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud