[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 21683] New: SimpleReference leak in SimpleDefinedAtom
From:       bugzilla-daemon () llvm ! org
Date:       2014-11-27 12:20:42
Message-ID: bug-21683-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

--1417090842.dBdeFD0.22921
Date: Thu, 27 Nov 2014 06:20:42 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

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: unassignedbugs@nondot.org
          Reporter: devlists@shadowlab.org
                CC: llvmbugs@cs.uiuc.edu
    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.

--1417090842.dBdeFD0.22921
Date: Thu, 27 Nov 2014 06:20:42 -0600
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - SimpleReference leak in SimpleDefinedAtom"
   href="http://llvm.org/bugs/show_bug.cgi?id=21683">21683</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SimpleReference leak in SimpleDefinedAtom
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs&#64;nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>devlists&#64;shadowlab.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs&#64;cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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&lt;SimpleReference&gt; member is never destroyed.

After linking clang, it results in a leaks of more than 177000 SimpleReference
objects (65MB).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>

--1417090842.dBdeFD0.22921--


_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic