[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:14:19 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/12/builds/2141
Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[610/641] Linking CXX executable unittests/Object/ObjectTests
[611/641] Linking CXX executable unittests/ObjCopy/ObjCopyTests
[612/641] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
[613/641] Linking CXX executable unittests/Bitcode/BitcodeTests
[614/641] Linking CXX executable unittests/ProfileData/ProfileDataTests
[615/641] Linking CXX executable unittests/FuzzMutate/FuzzMutateTests
[616/641] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
[617/641] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
[618/641] Linking CXX executable unittests/Transforms/IPO/IPOTests
[619/641] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
FAILED: unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
/usr/bin/ccache /home/buildbot/install/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/unittests/CodeGen -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/CodeGen -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/third-party/unittest/googletest/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/third-party/unittest/googlemock/include -O2 -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -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 /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp
/scratch/buildbot/bothome/clang-ve-ninja/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,
^~~~~~~~~~~~~~~
/scratch/buildbot/bothome/clang-ve-ninja/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> &' for 1st argument
class SmallSet {
^
/scratch/buildbot/bothome/clang-ve-ninja/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> &&' for 1st argument
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1437:62: note: passing argument to parameter 'VarsWeCareAbout' here
const SmallSet<DebugVariableID, 4> &VarsWeCareAbout,
^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2649:19: error: no matching constructor for initialization of 'LiveDebugValues::VLocTracker'
VLocs.resize(1, VLocTracker(Overlaps, EmptyExpr));
^ ~~~~~~~~~~~~~~~~~~~
/scratch/buildbot/bothome/clang-ve-ninja/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 {
^
/scratch/buildbot/bothome/clang-ve-ninja/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
/scratch/buildbot/bothome/clang-ve-ninja/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,
^
/scratch/buildbot/bothome/clang-ve-ninja/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)});
~~~~~~~~~~~~~~^~~~~~
/scratch/buildbot/bothome/clang-ve-ninja/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) {
^
/scratch/buildbot/bothome/clang-ve-ninja/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) {
^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2714:19: error: no matching constructor for initialization of 'LiveDebugValues::VLocTracker'
VLocs.resize(4, VLocTracker(Overlaps, EmptyExpr));
^ ~~~~~~~~~~~~~~~~~~~
/scratch/buildbot/bothome/clang-ve-ninja/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 {
^
/scratch/buildbot/bothome/clang-ve-ninja/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
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1062:3: note: candidate constructor not viable: requires 3 arguments, but 2 were provided
Step 8 (check-llvm) failure: check-llvm (failure)
...
[610/641] Linking CXX executable unittests/Object/ObjectTests
[611/641] Linking CXX executable unittests/ObjCopy/ObjCopyTests
[612/641] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
[613/641] Linking CXX executable unittests/Bitcode/BitcodeTests
[614/641] Linking CXX executable unittests/ProfileData/ProfileDataTests
[615/641] Linking CXX executable unittests/FuzzMutate/FuzzMutateTests
[616/641] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
[617/641] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
[618/641] Linking CXX executable unittests/Transforms/IPO/IPOTests
[619/641] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
FAILED: unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
/usr/bin/ccache /home/buildbot/install/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/unittests/CodeGen -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/CodeGen -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/third-party/unittest/googletest/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/third-party/unittest/googlemock/include -O2 -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 -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -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 /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp
/scratch/buildbot/bothome/clang-ve-ninja/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,
^~~~~~~~~~~~~~~
/scratch/buildbot/bothome/clang-ve-ninja/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> &' for 1st argument
class SmallSet {
^
/scratch/buildbot/bothome/clang-ve-ninja/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> &&' for 1st argument
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1437:62: note: passing argument to parameter 'VarsWeCareAbout' here
const SmallSet<DebugVariableID, 4> &VarsWeCareAbout,
^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2649:19: error: no matching constructor for initialization of 'LiveDebugValues::VLocTracker'
VLocs.resize(1, VLocTracker(Overlaps, EmptyExpr));
^ ~~~~~~~~~~~~~~~~~~~
/scratch/buildbot/bothome/clang-ve-ninja/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 {
^
/scratch/buildbot/bothome/clang-ve-ninja/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
/scratch/buildbot/bothome/clang-ve-ninja/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,
^
/scratch/buildbot/bothome/clang-ve-ninja/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)});
~~~~~~~~~~~~~~^~~~~~
/scratch/buildbot/bothome/clang-ve-ninja/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) {
^
/scratch/buildbot/bothome/clang-ve-ninja/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) {
^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2714:19: error: no matching constructor for initialization of 'LiveDebugValues::VLocTracker'
VLocs.resize(4, VLocTracker(Overlaps, EmptyExpr));
^ ~~~~~~~~~~~~~~~~~~~
/scratch/buildbot/bothome/clang-ve-ninja/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 {
^
/scratch/buildbot/bothome/clang-ve-ninja/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
/scratch/buildbot/bothome/clang-ve-ninja/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