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

            Bug ID: 19554
           Summary: leaks in unittests/CodeGen/DIEHashTest.cpp
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
            Blocks: 19521
    Classification: Unclassified

Created attachment 12441
  --> http://llvm.org/bugs/attachment.cgi?id=12441&action=edit
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

-- 
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