[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 17:32:34 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-debian` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/1980
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
2.143 [2/10/698] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
2.223 [2/9/699] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
2.808 [2/8/700] Linking CXX executable unittests/MIR/MIRTests
2.904 [2/7/701] Linking CXX executable unittests/Target/TargetMachineCTests
2.942 [2/6/702] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
2.982 [2/5/703] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
3.010 [2/4/704] Linking CXX executable unittests/MI/MITests
3.423 [2/3/705] Linking CXX executable tools/lld/unittests/AsLibAll/LLDAsLibAllTests
3.447 [2/2/706] Linking CXX executable tools/lld/unittests/AsLibELF/LLDAsLibELFTests
5.403 [2/1/707] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
FAILED: unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DEXPENSIVE_CHECKS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/1/llvm-clang-x86_64-expensive-checks-debian/build/unittests/CodeGen -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/CodeGen -I/b/1/llvm-clang-x86_64-expensive-checks-debian/build/include -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/third-party/unittest/googletest/include -I/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/third-party/unittest/googlemock/include -U_GLIBCXX_DEBUG -fPIC -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -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 /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:224:35: error: no viable conversion from 'const SmallSet<llvm::DebugVariable, [...]>' to 'const SmallSet<LiveDebugValues::DebugVariableID, [...]>'
LDV->buildVLocValueMap(DILoc, VarsWeCareAbout, AssignBlocks, Output,
^~~~~~~~~~~~~~~
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallSet.h:135:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const SmallSet<llvm::DebugVariable, 4>' to 'const llvm::SmallSet<unsigned int, 4, std::less<unsigned int>> &' for 1st argument
class SmallSet {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/SmallSet.h:135:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'const SmallSet<llvm::DebugVariable, 4>' to 'llvm::SmallSet<unsigned int, 4, std::less<unsigned int>> &&' for 1st argument
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1437:62: note: passing argument to parameter 'VarsWeCareAbout' here
const SmallSet<DebugVariableID, 4> &VarsWeCareAbout,
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2649:19: error: no matching constructor for initialization of 'LiveDebugValues::VLocTracker'
VLocs.resize(1, VLocTracker(Overlaps, EmptyExpr));
^ ~~~~~~~~~~~~~~~~~~~
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1042:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class VLocTracker {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1042:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1062:3: note: candidate constructor not viable: requires 3 arguments, but 2 were provided
VLocTracker(DebugVariableMap &DVMap, const OverlapMap &O,
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2661:17: error: no matching member function for call to 'insert'
VLocs[0].Vars.insert({Var, DbgValue(LiveInRspID, EmptyProps)});
~~~~~~~~~~~~~~^~~~~~
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/MapVector.h:141:29: note: candidate function not viable: cannot convert initializer list argument to 'const std::pair<unsigned int, DbgValue>'
std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/llvm/ADT/MapVector.h:144:29: note: candidate function not viable: cannot convert initializer list argument to 'std::pair<unsigned int, DbgValue>'
std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2714:19: error: no matching constructor for initialization of 'LiveDebugValues::VLocTracker'
VLocs.resize(4, VLocTracker(Overlaps, EmptyExpr));
^ ~~~~~~~~~~~~~~~~~~~
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1042:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class VLocTracker {
^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1042:7: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1062:3: note: candidate constructor not viable: requires 3 arguments, but 2 were provided
```
https://github.com/llvm/llvm-project/pull/99318
More information about the llvm-commits
mailing list