[LLVMbugs] [Bug 9465] New: Test for retained self in blocks

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 11 14:04:15 PST 2011


           Summary: Test for retained self in blocks
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: mjr at eyesee360.com
                CC: llvmbugs at cs.uiuc.edu

A common source of leaks in our recent iOS and Mac OS X projects is in
situations when 'self' is used (explicitly or implicitly) in a block which is
then retained by self or a related object, causing a cycle. Specifically
because of the implicit nature of some of these actions (use of ivars for
example) these can be difficult to track down.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list