[PATCH] D76115: Add debug support for set types
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 29 22:31:21 PDT 2021
vitalybuka added a comment.
https://lab.llvm.org/buildbot/#/builders/5/builds/6180
FAIL: LLVM-Unit :: IR/./IRTests/DIBuilder.CreateSetType (70031 of 75187)
******************** TEST 'LLVM-Unit :: IR/./IRTests/DIBuilder.CreateSetType' FAILED ********************
Note: Google Test filter = DIBuilder.CreateSetType
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from DIBuilder
[ RUN ] DIBuilder.CreateSetType
==45705==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x1fd3f80 in track /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/Metadata.h:772:9
#1 0x1fd3f80 in llvm::MDOperand::reset(llvm::Metadata*, llvm::Metadata*) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/Metadata.h:767:5
#2 0x1fcfc87 in setOperand /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/Metadata.cpp:885:22
#3 0x1fcfc87 in llvm::MDNode::MDNode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, llvm::ArrayRef<llvm::Metadata*>, llvm::ArrayRef<llvm::Metadata*>) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/Metadata.cpp:525:5
#4 0x1d81000 in DINode /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/DebugInfoMetadata.h:125:9
#5 0x1d81000 in DIScope /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/DebugInfoMetadata.h:472:9
#6 0x1d81000 in DIType /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/DebugInfoMetadata.h:665:9
#7 0x1d81000 in DIDerivedType /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/DebugInfoMetadata.h:921:9
#8 0x1d81000 in llvm::DIDerivedType::getImpl(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, unsigned long, unsigned int, unsigned long, llvm::Optional<unsigned int>, llvm::DINode::DIFlags, llvm::Metadata*, llvm::Metadata::StorageType, bool) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/DebugInfoMetadata.cpp:577:3
#9 0x1d42be4 in getImpl /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/DebugInfoMetadata.h:932:12
#10 0x1d42be4 in get /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/DebugInfoMetadata.h:963:3
#11 0x1d42be4 in llvm::DIBuilder::createSetType(llvm::DIScope*, llvm::StringRef, llvm::DIFile*, unsigned int, unsigned long, unsigned int, llvm::DIType*) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/DIBuilder.cpp:533:7
#12 0xbd0fdc in (anonymous namespace)::DIBuilder_CreateSetType_Test::TestBody() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/unittests/IR/DebugInfoTest.cpp:248:32
#13 0x35266b3 in HandleExceptionsInMethodIfSupported<testing::Test, void> /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc
#14 0x35266b3 in testing::Test::Run() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2474:5
#15 0x3528ffe in testing::TestInfo::Run() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2656:11
#16 0x352a570 in testing::TestCase::Run() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2774:28
#17 0x35431f5 in testing::internal::UnitTestImpl::RunAllTests() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4649:43
#18 0x3541a92 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc
#19 0x3541a92 in testing::UnitTest::Run() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4257:10
#20 0x350d45f in RUN_ALL_TESTS /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:2233:46
#21 0x350d45f in main /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/unittest/UnitTestMain/TestMain.cpp:50:10
#22 0x7f7ced3dc09a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
#23 0x922db9 in _start (/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/unittests/IR/IRTests+0x922db9)
SUMMARY: MemorySanitizer: use-of-uninitialized-value /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/IR/Metadata.h:772:9 in track
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76115/new/
https://reviews.llvm.org/D76115
More information about the llvm-commits
mailing list