summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorBjorn Steinbrink <bsteinbr@gmail.com>2015-02-12 21:04:22 +0000
committerBjorn Steinbrink <bsteinbr@gmail.com>2015-02-12 21:04:22 +0000
commit6f972a13f6e55668f811e71690ad33f728caf61e (patch)
tree2851859da366d7645fa4c29cb131a27ed6a5a84e /clang/lib/Sema/SemaExpr.cpp
parente8cb17f2824537e30bc536ba354f16d622d6e60b (diff)
downloadbcm5719-llvm-6f972a13f6e55668f811e71690ad33f728caf61e.tar.gz
bcm5719-llvm-6f972a13f6e55668f811e71690ad33f728caf61e.zip
Fix a crash in the assumption cache when inlining indirect function calls
Summary: Instances of the AssumptionCache are per function, so we can't re-use the same AssumptionCache instance when recursing in the CallAnalyzer to analyze a different function. Instead we have to pass the AssumptionCacheTracker to the CallAnalyzer so it can get the right AssumptionCache on demand. Reviewers: hfinkel Subscribers: llvm-commits, hans Differential Revision: http://reviews.llvm.org/D7533 llvm-svn: 228957
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud