[llvm] [DebugInfo][InstrRef] Index DebugVariables and some DILocations (PR #99318)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 07:09:41 PDT 2024
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 8 "Add check check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/2417
Here is the relevant piece of the build log for the reference:
```
Step 8 (Add check check-llvm) failure: test (failure)
...
[636/647] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
[637/647] Linking CXX executable unittests/Transforms/Utils/UtilsTests
[638/647] Linking CXX executable unittests/MIR/MIRTests
[639/647] Linking CXX executable unittests/Target/X86/X86Tests
[640/647] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[641/647] Linking CXX executable unittests/Target/TargetMachineCTests
[642/647] Linking CXX executable unittests/Target/AMDGPU/AMDGPUTests
[643/647] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
[644/647] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[645/647] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
FAILED: unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/CodeGen -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googletest/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/third-party/unittest/googlemock/include -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-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++1z -MD -MT unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o -MF unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o.d -o unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp: In member function ‘void InstrRefLDVTest::buildVLocValueMap(const llvm::DILocation*, const llvm::SmallSet<llvm::DebugVariable, 4>&, llvm::SmallPtrSetImpl<llvm::MachineBasicBlock*>&, LiveDebugValues::InstrRefBasedLDV::LiveInsT&, LiveDebugValues::FuncValueTable&, LiveDebugValues::FuncValueTable&, llvm::SmallVectorImpl<LiveDebugValues::VLocTracker>&)’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:225:58: error: no matching function for call to ‘LiveDebugValues::InstrRefBasedLDV::buildVLocValueMap(const llvm::DILocation*&, const llvm::SmallSet<llvm::DebugVariable, 4>&, llvm::SmallPtrSetImpl<llvm::MachineBasicBlock*>&, LiveDebugValues::InstrRefBasedLDV::LiveInsT&, LiveDebugValues::FuncValueTable&, LiveDebugValues::FuncValueTable&, llvm::SmallVectorImpl<LiveDebugValues::VLocTracker>&)’
MOutLocs, MInLocs, AllTheVLocs);
^
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:27:0:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1436:8: note: candidate: void LiveDebugValues::InstrRefBasedLDV::buildVLocValueMap(const llvm::DILocation*, const llvm::SmallSet<unsigned int, 4>&, llvm::SmallPtrSetImpl<llvm::MachineBasicBlock*>&, LiveDebugValues::InstrRefBasedLDV::LiveInsT&, LiveDebugValues::FuncValueTable&, LiveDebugValues::FuncValueTable&, llvm::SmallVectorImpl<LiveDebugValues::VLocTracker>&)
void buildVLocValueMap(const DILocation *DILoc,
^~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1436:8: note: no known conversion for argument 2 from ‘const llvm::SmallSet<llvm::DebugVariable, 4>’ to ‘const llvm::SmallSet<unsigned int, 4>&’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp: In member function ‘virtual void InstrRefLDVTest_MLocDiamondSpills_Test::TestBody()’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:1139:26: warning: unused variable ‘MOutLocs’ [-Wunused-variable]
auto [MInLocs, MOutLocs] = allocValueTables(4, 11);
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp: In member function ‘virtual void InstrRefLDVTest_pickVPHILocDiamond_Test::TestBody()’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:1786:26: warning: unused variable ‘MInLocs’ [-Wunused-variable]
auto [MInLocs, MOutLocs] = allocValueTables(4, 2);
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp: In member function ‘virtual void InstrRefLDVTest_pickVPHILocLoops_Test::TestBody()’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:1982:26: warning: unused variable ‘MInLocs’ [-Wunused-variable]
auto [MInLocs, MOutLocs] = allocValueTables(3, 2);
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp: In member function ‘virtual void InstrRefLDVTest_pickVPHILocBadlyNestedLoops_Test::TestBody()’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2112:26: warning: unused variable ‘MInLocs’ [-Wunused-variable]
auto [MInLocs, MOutLocs] = allocValueTables(5, 3);
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp: In member function ‘virtual void InstrRefLDVTest_VLocSingleBlock_Test::TestBody()’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2649:50: error: no matching function for call to ‘LiveDebugValues::VLocTracker::VLocTracker(LiveDebugValues::OverlapMap&, llvm::DIExpression*&)’
VLocs.resize(1, VLocTracker(Overlaps, EmptyExpr));
^
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:27:0:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1062:3: note: candidate: LiveDebugValues::VLocTracker::VLocTracker(LiveDebugValues::DebugVariableMap&, const OverlapMap&, const llvm::DIExpression*)
VLocTracker(DebugVariableMap &DVMap, const OverlapMap &O,
^~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1062:3: note: candidate expects 3 arguments, 2 provided
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1042:7: note: candidate: LiveDebugValues::VLocTracker::VLocTracker(const LiveDebugValues::VLocTracker&)
class VLocTracker {
^~~~~~~~~~~
```
https://github.com/llvm/llvm-project/pull/99318
More information about the llvm-commits
mailing list