aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-02-24 23:56:53 +0000
committerAnna Zaks <ganna@apple.com>2012-02-24 23:56:53 +0000
commit3cd89ad193834e766ce5dc24e260aa8615d0d5e1 (patch)
tree23d1ef8c44b410a3aeaa4aa0a9903d02d484f6e7 /lib/CodeGen/BackendUtil.cpp
parented878af7914df535b32d64f555fa118413186672 (diff)
[analyzer] Malloc: reason about the ObjC messages and C++.
Assume none of the ObjC messages defined in system headers free memory, except for the ones containing 'freeWhenDone' selector. Currently, just assume that the region escapes to the messages with 'freeWhenDone' (ideally, we want to treat it as 'free()'). For now, always assume that regions escape when passed to C++ methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions