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

            Bug ID: 21683
           Summary: SimpleReference leak in SimpleDefinedAtom
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

When linking, SimpleDefinedAtom are allocated using a llvm::bumpPtr (at least
for Mach-O linking).

The SimpleDefinedAtom destructor is never called, and so its
std::vector<SimpleReference> member is never destroyed.

After linking clang, it results in a leaks of more than 177000 SimpleReference
objects (65MB).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to