commit | b276bd9cc98247331cac8b290ba278b939e53657 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Tue Feb 14 00:26:13 2012 +0000 |
committer | Anna Zaks <ganna@apple.com> | Tue Feb 14 00:26:13 2012 +0000 |
tree | 04ae886c76f99dff195b6e946275551cb3d7f073 | |
parent | d764437c9ce6feae11a9fca35bbc4ebc004f69e0 [diff] |
[analyzer] Malloc Checker: realloc: add dependency between the symbols in realloc map. If there is no dependency, the reallocated ptr will get garbage collected before we know that realloc failed, which would lead us to missing a memory leak warning. Also added new test cases, which we can handle now. Plus minor cleanups. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150446 91177308-0d34-0410-b5e6-96231b3b80d8