[LLVMbugs] [Bug 19560] New: FrontendAction.cpp leaks DeserializedDeclsDumper, DeserializedDeclsChecker

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 25 10:26:32 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19560

            Bug ID: 19560
           Summary: FrontendAction.cpp leaks DeserializedDeclsDumper,
                    DeserializedDeclsChecker
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

ASTDeserializationListener *DeserialListener =
          Consumer->GetASTDeserializationListener();
      if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls)
        DeserialListener = new DeserializedDeclsDumper(DeserialListener);
      if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty())
        DeserialListener = new DeserializedDeclsChecker(CI.getASTContext(),
                        
CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn,
                                                        DeserialListener);


There's no clear ownership for these to checkers. They were added in r116503
and r116505 respectively.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140425/ef3ec5e6/attachment.html>


More information about the llvm-bugs mailing list