[llvm] [CAS] Add OnDiskDataAllocator (PR #161264)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 09:16:38 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `llvm` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/31936
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (compile-openmp) failure: build (failure)
...
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/utils/TableGen/Common/CodeGenRegisters.cpp: In member function ‘llvm::BitVector llvm::CodeGenRegBank::computeCoveredRegisters(llvm::ArrayRef<const llvm::Record*>)’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/utils/TableGen/Common/CodeGenRegisters.cpp:2630:23: warning: unused variable ‘_’ [-Wunused-variable]
for (auto [_, SR] : SRM)
^
1.344 [6577/32/826] Building CXX object utils/TableGen/Common/CMakeFiles/obj.LLVMTableGenCommon.dir/VarLenCodeEmitterGen.cpp.o
1.346 [6576/32/827] Building CXX object lib/Remarks/CMakeFiles/LLVMRemarks.dir/RemarkFormat.cpp.o
1.350 [6575/32/828] Building QuantDialectBytecode.cpp.inc...
1.351 [6574/32/829] Building CXX object lib/Remarks/CMakeFiles/LLVMRemarks.dir/RemarkLinker.cpp.o
1.354 [6573/32/830] Building CXX object lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskDataAllocator.cpp.o
FAILED: lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskDataAllocator.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/CAS -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++1z -MD -MT lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskDataAllocator.cpp.o -MF lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskDataAllocator.cpp.o.d -o lib/CAS/CMakeFiles/LLVMCAS.dir/OnDiskDataAllocator.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp: In member function ‘llvm::Expected<llvm::ArrayRef<char> > llvm::cas::OnDiskDataAllocator::get(llvm::cas::FileOffset, size_t) const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:185:69: error: class template argument deduction failed:
return ArrayRef{Impl->File.getRegion().data() + Offset.get(), Size};
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:185:69: error: no matching function for call to ‘ArrayRef(<brace-enclosed initializer list>)’
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/CAS/OnDiskDataAllocator.h:20:0,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:13:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/ArrayRef.h:479:25: note: candidate: template<class T> llvm::ArrayRef(const T&)-> llvm::ArrayRef<T>
template <typename T> ArrayRef(const T &OneElt) -> ArrayRef<T>;
^~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/ArrayRef.h:479:25: note: template argument deduction/substitution failed:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:185:69: note: couldn't deduce template parameter ‘T’
return ArrayRef{Impl->File.getRegion().data() + Offset.get(), Size};
^
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/CAS/OnDiskDataAllocator.h:20:0,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:13:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/ArrayRef.h:482:25: note: candidate: template<class T> llvm::ArrayRef(const T*, size_t)-> llvm::ArrayRef<T>
template <typename T> ArrayRef(const T *data, size_t length) -> ArrayRef<T>;
^~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/ArrayRef.h:482:25: note: template argument deduction/substitution failed:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:185:69: note: candidate expects 2 arguments, 1 provided
return ArrayRef{Impl->File.getRegion().data() + Offset.get(), Size};
^
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/CAS/OnDiskDataAllocator.h:20:0,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:13:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/ArrayRef.h:485:25: note: candidate: template<class T> llvm::ArrayRef(const T*, const T*)-> llvm::ArrayRef<T>
template <typename T> ArrayRef(const T *data, const T *end) -> ArrayRef<T>;
^~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/ArrayRef.h:485:25: note: template argument deduction/substitution failed:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:185:69: note: candidate expects 2 arguments, 1 provided
return ArrayRef{Impl->File.getRegion().data() + Offset.get(), Size};
^
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/CAS/OnDiskDataAllocator.h:20:0,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/CAS/OnDiskDataAllocator.cpp:13:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/ArrayRef.h:488:25: note: candidate: template<class T> llvm::ArrayRef(const llvm::SmallVectorImpl<T>&)-> llvm::ArrayRef<T>
template <typename T> ArrayRef(const SmallVectorImpl<T> &Vec) -> ArrayRef<T>;
^~~~~~~~
```
</details>
https://github.com/llvm/llvm-project/pull/161264
More information about the llvm-commits
mailing list