commit | 231361ad343d655e4bbb1574ccbb4173b72dadfd | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Wed Feb 08 23:16:52 2012 +0000 |
committer | Anna Zaks <ganna@apple.com> | Wed Feb 08 23:16:52 2012 +0000 |
tree | 8edd07e49e169ace920b7a18aedc5ef6bc7bafe5 | |
parent | af84f8fea486dde096466e85f4bca7c8d3ff4571 [diff] |
[analyzer] Split the MallocChecker into two versions - pessimistic and optimistic. TODO: actually implement the pessimistic version of the checker. Ex: it needs to assume that any function that takes a pointer might free it. The optimistic version relies on annotations to tell us which functions can free the pointer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150111 91177308-0d34-0410-b5e6-96231b3b80d8