aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-08-09 00:21:33 +0000
committerAnna Zaks <ganna@apple.com>2012-08-09 00:21:33 +0000
commite90d3f847dcce76237078b67db8895eb7a24189e (patch)
tree884fc90cbbf939cdb1d1e736abb0accb61e00fd5 /lib/StaticAnalyzer/Checkers/MallocChecker.cpp
parent7b7af0201b0f0bac47663b4daf530afd8df85595 (diff)
[analyzer] Bifurcate the path with dynamic dispatch.
This is an initial (unoptimized) version. We split the path when inlining ObjC instance methods. On one branch we always assume that the type information for the given memory region is precise. On the other we assume that we don't have the exact type info. It is important to check since the class could be subclassed and the method can be overridden. If we always inline we can loose coverage. Had to refactor some of the call eval functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
0 files changed, 0 insertions, 0 deletions