diff options
| author | Anna Zaks <ganna@apple.com> | 2013-04-10 21:42:06 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2013-04-10 21:42:06 +0000 |
| commit | e51362e7f7a53acdad8be65e8c99be3aa4e7fdfb (patch) | |
| tree | 2e8a3d4d820c9bc28618e6436eef280d06750b54 /llvm/lib/Object/ObjectFile.cpp | |
| parent | 2d1df6be879105388bf57ecece509a917e27f25d (diff) | |
| download | llvm-e51362e7f7a53acdad8be65e8c99be3aa4e7fdfb.zip llvm-e51362e7f7a53acdad8be65e8c99be3aa4e7fdfb.tar.gz llvm-e51362e7f7a53acdad8be65e8c99be3aa4e7fdfb.tar.bz2 | |
[analyzer] When reporting a leak in RetainCount checker due to an early exit from init, step into init.
The heuristic here (proposed by Jordan) is that, usually, if a leak is due to an early exit from init, the allocation site will be
a call to alloc. Note that in other cases init resets self to [super init], which becomes the allocation site of the object.
llvm-svn: 179221
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
