<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 --- - leaks in unittests/CodeGen/DIEHashTest.cpp"
   href="http://llvm.org/bugs/show_bug.cgi?id=19554">19554</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>leaks in unittests/CodeGen/DIEHashTest.cpp
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kcc@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dblaikie@gmail.com, echristo@gmail.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>19521
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12441" name="attach_12441" title="full log">attachment 12441</a> <a href="attachment.cgi?id=12441&action=edit" title="full log">[details]</a></span>
full log

Running unittests/CodeGen/CodeGenTests under lsan or valgrind shows 
several leaks (maybe test-only). full log attached

Direct leak of 272 byte(s) in 1 object(s) allocated from:
    #0 0x4bf6d0 in operator new(unsigned long)
projects/compiler-rt/lib/asan/asan_new_delete.cc:62               
    #1 0x4dbe5e in (anonymous
namespace)::DIEHashTest_MemberBlock_Test::TestBody()
unittests/CodeGen/DIEHashTest.cpp:634
    #2 0x667ffd in HandleExceptionsInMethodIfSupported<testing::Test, void>
utils/unittest/googletest/src/gtest.cc:2145
    #3 0x667ffd in testing::Test::Run()
utils/unittest/googletest/src/gtest.cc:2161
    #4 0x6699a3 in testing::TestInfo::Run()
utils/unittest/googletest/src/gtest.cc:2309                          
    #5 0x66aab9 in testing::TestCase::Run()
utils/unittest/googletest/src/gtest.cc:2416                          
    #6 0x68102a in testing::internal::UnitTestImpl::RunAllTests()
utils/unittest/googletest/src/gtest.cc:4205
    #7 0x6801b5 in
HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>
utils/unittest/googletest/src/gtest.cc:2145
    #8 0x6801b5 in testing::UnitTest::Run()
utils/unittest/googletest/src/gtest.cc:3839
    #9 0x6a2942 in main utils/unittest/UnitTestMain/TestMain.cpp:48


Direct leak of 248 byte(s) in 1 object(s) allocated from:
    #0 0x4bf6d0 in operator new(unsigned long)
projects/compiler-rt/lib/asan/asan_new_delete.cc:62
    #1 0x4e0999 in (anonymous
namespace)::DIEHashTest_MemberSdata_Test::TestBody()
unittests/CodeGen/DIEHashTest.cpp:570
    #2 0x667ffd in HandleExceptionsInMethodIfSupported<testing::Test, void>
utils/unittest/googletest/src/gtest.cc:2145
    #3 0x667ffd in testing::Test::Run()
utils/unittest/googletest/src/gtest.cc:2161
    #4 0x6699a3 in testing::TestInfo::Run()
utils/unittest/googletest/src/gtest.cc:2309
    #5 0x66aab9 in testing::TestCase::Run()
utils/unittest/googletest/src/gtest.cc:2416
    #6 0x68102a in testing::internal::UnitTestImpl::RunAllTests()
utils/unittest/googletest/src/gtest.cc:4205
    #7 0x6801b5 in
HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>
utils/unittest/googletest/src/gtest.cc:2145
    #8 0x6801b5 in testing::UnitTest::Run()
utils/unittest/googletest/src/gtest.cc:3839
    #9 0x6a2942 in main utils/unittest/UnitTestMain/TestMain.cpp:48</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>