[llvm] [llvm-debuginfo-analyzer] Common handling of unsigned attribute values. (PR #116027)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 21:28:10 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/9184
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
...
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1398:23: required from ‘static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = int; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_Dp>::value))>::type* <anonymous> = 0]’
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/unittests/DebugInfo/LogicalView/DWARFGeneratedTest.cpp:231:3: required from here
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1379:11: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
1379 | if (lhs == rhs) {
| ~~~~^~~~~~
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’:
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1398:23: required from ‘static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_Dp>::value))>::type* <anonymous> = 0]’
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/unittests/DebugInfo/LogicalView/DWARFGeneratedTest.cpp:234:3: required from here
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/third-party/unittest/googletest/include/gtest/gtest.h:1379:11: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
8.891 [1/1/688] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
FAILED: unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold -Wl,--gc-sections unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfGenerator.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfUtils.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/CodeViewReaderTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/CommandLineOptionsTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/CompareElementsTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFReaderTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/SelectElementsTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/LocationRangesTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/LogicalElementsTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/StringPoolTest.cpp.o unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/WarningInternalTest.cpp.o -o unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests -Wl,-rpath,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib lib/libLLVMX86CodeGen.so.20.0git lib/libLLVMX86AsmParser.so.20.0git lib/libLLVMNVPTXCodeGen.so.20.0git lib/libLLVMX86Desc.so.20.0git lib/libLLVMNVPTXDesc.so.20.0git lib/libLLVMX86Disassembler.so.20.0git lib/libLLVMX86Info.so.20.0git lib/libLLVMNVPTXInfo.so.20.0git lib/libLLVMAsmPrinter.so.20.0git lib/libLLVMDebugInfoLogicalView.so.20.0git lib/libLLVMMCDisassembler.so.20.0git lib/libllvm_gtest_main.so.20.0git lib/libLLVMTestingSupport.so.20.0git lib/libLLVMMC.so.20.0git lib/libLLVMTargetParser.so.20.0git lib/libllvm_gtest.so.20.0git lib/libLLVMSupport.so.20.0git -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib && :
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfGenerator.cpp.o:DwarfGenerator.cpp:function writeV5IncludeAndFileTable(llvm::DWARFDebugLine::Prologue const&, llvm::AsmPrinter&): error: undefined reference to 'llvm::DWARFFormValue::getAsCString() const'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfGenerator.cpp.o:DwarfGenerator.cpp:function writeV5IncludeAndFileTable(llvm::DWARFDebugLine::Prologue const&, llvm::AsmPrinter&): error: undefined reference to 'llvm::DWARFFormValue::getAsCString() const'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfGenerator.cpp.o:DwarfGenerator.cpp:function writeV2IncludeAndFileTable(llvm::DWARFDebugLine::Prologue const&, llvm::AsmPrinter&): error: undefined reference to 'llvm::DWARFFormValue::getAsCString() const'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfGenerator.cpp.o:DwarfGenerator.cpp:function writeV2IncludeAndFileTable(llvm::DWARFDebugLine::Prologue const&, llvm::AsmPrinter&): error: undefined reference to 'llvm::DWARFFormValue::getAsCString() const'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfGenerator.cpp.o:DwarfGenerator.cpp:function llvm::dwarfgen::LineTable::createBasicPrologue() const [clone .localalias]: error: undefined reference to 'llvm::DWARFDebugLine::Prologue::Prologue()'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfGenerator.cpp.o:DwarfGenerator.cpp:function llvm::dwarfgen::LineTable::createBasicPrologue() const [clone .localalias]: error: undefined reference to 'llvm::DWARFFormValue::createFromPValue(llvm::dwarf::Form, char const*)'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/__/DWARF/DwarfGenerator.cpp.o:DwarfGenerator.cpp:function llvm::dwarfgen::LineTable::createBasicPrologue() const [clone .localalias]: error: undefined reference to 'llvm::DWARFFormValue::createFromPValue(llvm::dwarf::Form, char const*)'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o:DWARFGeneratedTest.cpp:function (anonymous namespace)::generateDebugInfo(llvm::StringRef, llvm::Triple&): error: undefined reference to 'llvm::object::ObjectFile::createObjectFile(llvm::MemoryBufferRef, llvm::file_magic, bool)'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o:DWARFGeneratedTest.cpp:function (anonymous namespace)::generateDebugInfo(llvm::StringRef, llvm::Triple&): error: undefined reference to 'llvm::DWARFContext::create(llvm::object::ObjectFile const&, llvm::DWARFContext::ProcessDebugRelocations, llvm::LoadedObjectInfo const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::function<void (llvm::Error)>, std::function<void (llvm::Error)>, bool)'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o:DWARFGeneratedTest.cpp:function (anonymous namespace)::generateDebugInfo(llvm::StringRef, llvm::Triple&): error: undefined reference to 'llvm::DWARFUnit::extractDIEsIfNeeded(bool)'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o:DWARFGeneratedTest.cpp:function (anonymous namespace)::generateDebugInfo(llvm::StringRef, llvm::Triple&): error: undefined reference to 'llvm::DWARFDie::getFirstChild() const'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o:DWARFGeneratedTest.cpp:function (anonymous namespace)::generateDebugInfo(llvm::StringRef, llvm::Triple&): error: undefined reference to 'llvm::DWARFDie::getSibling() const'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o:DWARFGeneratedTest.cpp:function (anonymous namespace)::generateDebugInfo(llvm::StringRef, llvm::Triple&): error: undefined reference to 'llvm::DWARFDie::getSibling() const'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o:DWARFGeneratedTest.cpp:function (anonymous namespace)::generateDebugInfo(llvm::StringRef, llvm::Triple&): error: undefined reference to 'llvm::DWARFDie::getSibling() const'
unittests/DebugInfo/LogicalView/CMakeFiles/DebugInfoLogicalViewTests.dir/DWARFGeneratedTest.cpp.o:DWARFGeneratedTest.cpp:function (anonymous namespace)::generateDebugInfo(llvm::StringRef, llvm::Triple&): error: undefined reference to 'llvm::DWARFDie::getSibling() const'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/116027
More information about the llvm-commits
mailing list