[llvm] [llvm-debuginfo-analyzer] Add support for LLVM IR format. (PR #200603)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 22:06:42 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `linaro-clang-armv8-quick` while building `llvm` at step 4 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/32148
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (build stage 1) failure: 'ninja' (failure)
...
[2360/4396] Building CXX object lib/ExecutionEngine/JITLink/CMakeFiles/LLVMJITLink.dir/riscv.cpp.o
[2361/4396] Building CXX object lib/ExecutionEngine/JITLink/CMakeFiles/LLVMJITLink.dir/ELF.cpp.o
[2362/4396] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/COFF.cpp.o
[2363/4396] Building CXX object lib/ExecutionEngine/JITLink/CMakeFiles/LLVMJITLink.dir/MachO.cpp.o
[2364/4396] Building CXX object lib/ExecutionEngine/JITLink/CMakeFiles/LLVMJITLink.dir/systemz.cpp.o
[2365/4396] Building CXX object lib/ExecutionEngine/JITLink/CMakeFiles/LLVMJITLink.dir/x86.cpp.o
[2366/4396] Building CXX object lib/DebugInfo/GSYM/CMakeFiles/LLVMDebugInfoGSYM.dir/DwarfTransformer.cpp.o
[2367/4396] Building CXX object lib/ExecutionEngine/JITLink/CMakeFiles/LLVMJITLink.dir/COFF.cpp.o
[2368/4396] Building CXX object lib/ExecutionEngine/JITLink/CMakeFiles/LLVMJITLink.dir/x86_64.cpp.o
[2369/4396] Building CXX object lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/LVReaderHandler.cpp.o
FAILED: lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/LVReaderHandler.cpp.o
/usr/local/bin/c++ -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/DebugInfo/LogicalView -I/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/lib/DebugInfo/LogicalView -I/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/include -I/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Xclang -fno-pch-timestamp -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Winvalid-pch -Xclang -include-pch -Xclang /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/IR/CMakeFiles/LLVMCore.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/IR/CMakeFiles/LLVMCore.dir/cmake_pch.hxx -MD -MT lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/LVReaderHandler.cpp.o -MF lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/LVReaderHandler.cpp.o.d -o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/LVReaderHandler.cpp.o -c /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
In file included from <built-in>:1:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/IR/CMakeFiles/LLVMCore.dir/cmake_pch.hxx:5:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/pch.h:13:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/BasicBlock.h:23:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/DebugProgramInstruction.h:54:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/DebugLoc.h:18:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/TrackingMDRef.h:16:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/Metadata.h:21:
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/ADT/PointerUnion.h:236:11: error: static assertion failed due to requirement 'pointer_union_detail::typesInNonDecreasingBitOrder()': Variable-width PointerUnion types must be in non-decreasing NumLowBitsAvailable order
236 | pointer_union_detail::typesInNonDecreasingBitOrder<PTs...>(),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/ADT/PointerUnion.h:373:15: note: in instantiation of member function 'llvm::PointerUnion<llvm::object::ObjectFile *, llvm::pdb::PDBFile *, llvm::object::IRObjectFile *, llvm::MemoryBufferRef *, llvm::StringRef *>::getTagTable' requested here
373 | From::getTagTable();
| ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/Support/Casting.h:396:23: note: in instantiation of member function 'llvm::CastInfo<llvm::object::ObjectFile *, llvm::PointerUnion<llvm::object::ObjectFile *, llvm::pdb::PDBFile *, llvm::object::IRObjectFile *, llvm::MemoryBufferRef *, llvm::StringRef *>>::isPossible' requested here
396 | return ForwardTo::isPossible(const_cast<NonConstFrom>(f));
| ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/Support/Casting.h:548:37: note: in instantiation of member function 'llvm::ConstStrippingForwardingCast<llvm::object::ObjectFile *, const llvm::PointerUnion<llvm::object::ObjectFile *, llvm::pdb::PDBFile *, llvm::object::IRObjectFile *, llvm::MemoryBufferRef *, llvm::StringRef *>, llvm::CastInfo<llvm::object::ObjectFile *, llvm::PointerUnion<llvm::object::ObjectFile *, llvm::pdb::PDBFile *, llvm::object::IRObjectFile *, llvm::MemoryBufferRef *, llvm::StringRef *>>>::isPossible' requested here
548 | return (CastInfo<To, const From>::isPossible(Val) || ...);
| ^
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp:48:9: note: in instantiation of function template specialization 'llvm::isa<llvm::object::ObjectFile *, llvm::PointerUnion<llvm::object::ObjectFile *, llvm::pdb::PDBFile *, llvm::object::IRObjectFile *, llvm::MemoryBufferRef *, llvm::StringRef *>>' requested here
48 | if (isa<ObjectFile *>(Input)) {
| ^
In file included from <built-in>:1:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/IR/CMakeFiles/LLVMCore.dir/cmake_pch.hxx:5:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/pch.h:13:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/BasicBlock.h:23:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/DebugProgramInstruction.h:54:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/DebugLoc.h:18:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/TrackingMDRef.h:16:
In file included from /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/IR/Metadata.h:21:
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/ADT/PointerUnion.h:241:21: error: static assertion failed due to requirement 'Table.has_value()': Too many types for the available low bits
241 | static_assert(Table.has_value(),
| ^~~~~~~~~~~~~~~~~
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include/llvm/ADT/PointerUnion.h:372:74: error: constexpr variable 'Table' must be initialized by a constant expression
372 | constexpr std::array<pointer_union_detail::TagEntry, sizeof...(PTs)> Table =
| ^
```
</details>
https://github.com/llvm/llvm-project/pull/200603
More information about the llvm-commits
mailing list