[PATCH] D125782: [llvm-debuginfo-analyzer] 07 - Compare elements

Kevin Athey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 09:19:50 PDT 2022


kda added a comment.

In D125782#3879032 <https://reviews.llvm.org/D125782#3879032>, @CarlosAlbertoEnciso wrote:

> The following patch fixed some buildbot sanitizer issues: https://reviews.llvm.org/D136593

It does not seem to have fixed them all...

https://lab.llvm.org/buildbot/#/builders/168
https://lab.llvm.org/buildbot/#/builders/5/builds/28512

These are still broken claiming this target is the trouble:

  Failed Tests (1):
    LLVM-Unit :: DebugInfo/LogicalView/./DebugInfoLogicalViewTests/8/15

Appears to be a leak:

  ==1565271==ERROR: LeakSanitizer: detected memory leaks
  Direct leak of 208 byte(s) in 1 object(s) allocated from:
      #0 0x56055b3457fd in operator new(unsigned long, std::nothrow_t const&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:101:3
      #1 0x56055b38aaf1 in llvm::logicalview::LVScopeFunction* (anonymous namespace)::ReaderTestCompare::create<llvm::logicalview::LVScopeFunction, void (llvm::logicalview::LVScope::*)()>(void (llvm::logicalview::LVScope::*)()) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp:68:18
      #2 0x56055b3812fa in (anonymous namespace)::ReaderTestCompare::createElements() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp:142:7
      #3 0x56055b3794ae in (anonymous namespace)::LogicalViewTest_CompareElements_Test::TestBody() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp:437:21
      #4 0x56055b63dd6c in HandleExceptionsInMethodIfSupported<testing::Test, void> /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc
      #5 0x56055b63dd6c in testing::Test::Run() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2508:5
      #6 0x56055b64052c in testing::TestInfo::Run() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2684:11
      #7 0x56055b64192f in testing::TestSuite::Run() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2816:28
      #8 0x56055b66c6b1 in testing::internal::UnitTestImpl::RunAllTests() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:5338:44
      #9 0x56055b66b3c1 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc
      #10 0x56055b66b3c1 in testing::UnitTest::Run() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4925:10
      #11 0x56055b62164a in RUN_ALL_TESTS /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:2472:46
      #12 0x56055b62164a in main /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/UnitTestMain/TestMain.cpp:55:10
      #13 0x7f066136ed8f  (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) (BuildId: 69389d485a9793dbe873f0ea2c93e02efaa9aa3d)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125782/new/

https://reviews.llvm.org/D125782



More information about the llvm-commits mailing list