diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2016-02-25 23:36:52 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2016-02-25 23:36:52 +0000 |
commit | 591991c86fb5820dec76b0e30871212c3e17969a (patch) | |
tree | 704310d40410d57e9b4092319a0ca7e309029b9b /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 7bd3499d05de028251b36a373dfcc4ba56a97a41 (diff) | |
download | llvm-591991c86fb5820dec76b0e30871212c3e17969a.zip llvm-591991c86fb5820dec76b0e30871212c3e17969a.tar.gz llvm-591991c86fb5820dec76b0e30871212c3e17969a.tar.bz2 |
[analyzer] Warn on use of 'self' after call to to [super dealloc].
Referring to 'self' after a call to [super dealloc] is a use-after-free in
Objective-C because NSObject's -dealloc frees the memory pointed to by self.
This patch extends the ObjCSuperDeallocChecker to catch this error.
rdar://problem/6953275
Differential Revision: http://reviews.llvm.org/D17528
llvm-svn: 261935
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions