[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:08:46 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20` running on `clang-debian-cpp20` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/1409
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
34.146 [2/11/1146] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
34.432 [2/10/1147] Linking CXX executable unittests/Target/X86/X86Tests
34.514 [2/9/1148] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
34.515 [2/8/1149] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
34.760 [2/7/1150] Linking CXX executable unittests/tools/llvm-cfi-verify/CFIVerifyTests
34.776 [2/6/1151] Linking CXX executable unittests/Transforms/Utils/UtilsTests
35.025 [2/5/1152] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
35.147 [2/4/1153] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
35.270 [2/3/1154] Linking CXX executable unittests/Target/TargetMachineCTests
35.689 [2/2/1155] Building CXX object unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
FAILED: unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.o
ccache /usr/bin/clang++-17 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/unittests/CodeGen -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/unittests/CodeGen -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/third-party/unittest/googletest/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/third-party/unittest/googlemock/include -Wno-deprecated-enum-enum-conversion -Wno-deprecated-declarations -Wno-deprecated-anon-enum-enum-conversion -Wno-ambiguous-reversed-operator -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 -O3 -DNDEBUG -std=c++20 -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -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 /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:224:35: error: no viable conversion from 'const SmallSet<DebugVariable, [...]>' to 'const SmallSet<DebugVariableID, [...]>'
224 | LDV->buildVLocValueMap(DILoc, VarsWeCareAbout, AssignBlocks, Output,
| ^~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/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<DebugVariable, 4>' to 'const SmallSet<unsigned int, 4> &' for 1st argument
135 | class SmallSet {
| ^~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/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<DebugVariable, 4>' to 'SmallSet<unsigned int, 4> &&' for 1st argument
135 | class SmallSet {
| ^~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1437:62: note: passing argument to parameter 'VarsWeCareAbout' here
1437 | const SmallSet<DebugVariableID, 4> &VarsWeCareAbout,
| ^
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2649:19: error: no matching constructor for initialization of 'VLocTracker'
2649 | VLocs.resize(1, VLocTracker(Overlaps, EmptyExpr));
| ^ ~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/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
1042 | class VLocTracker {
| ^~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/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
1042 | class VLocTracker {
| ^~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h:1062:3: note: candidate constructor not viable: requires 3 arguments, but 2 were provided
1062 | VLocTracker(DebugVariableMap &DVMap, const OverlapMap &O,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1063 | const DIExpression *EmptyExpr)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2661:17: error: no matching member function for call to 'insert'
2661 | VLocs[0].Vars.insert({Var, DbgValue(LiveInRspID, EmptyProps)});
| ~~~~~~~~~~~~~~^~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/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>'
141 | std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/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>'
144 | std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/unittests/CodeGen/InstrRefLDVTest.cpp:2714:19: error: no matching constructor for initialization of 'VLocTracker'
2714 | VLocs.resize(4, VLocTracker(Overlaps, EmptyExpr));
```
https://github.com/llvm/llvm-project/pull/99318
More information about the llvm-commits
mailing list