[llvm] [EquivClasses] Introduce members iterator-helper (PR #130139)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 7 10:58:27 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/12617
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
2.940 [58/66/631] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/FDRBlockVerifierTest.cpp.o
2.954 [57/66/632] Linking CXX executable unittests/FuzzMutate/FuzzMutateTests
2.966 [56/66/633] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/FDRProducerConsumerTest.cpp.o
2.973 [55/66/634] Linking CXX executable unittests/Support/SupportTests
2.990 [54/66/635] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/FDRRecordPrinterTest.cpp.o
2.996 [53/66/636] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/FDRTraceWriterTest.cpp.o
3.011 [52/66/637] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/GraphTest.cpp.o
3.012 [51/66/638] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/FDRRecordsTest.cpp.o
3.021 [50/66/639] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/ProfileTest.cpp.o
3.029 [49/66/640] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o
FAILED: unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/unittests/ADT -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/ADT -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googletest/include -I/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wno-dangling-else -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -std=c++17 -MD -MT unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o -MF unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o.d -o unittests/ADT/CMakeFiles/ADTTests.dir/EquivalenceClassesTest.cpp.o -c /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/ADT/EquivalenceClassesTest.cpp
In file included from /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googlemock/include/gmock/gmock.h:61,
from /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/unittests/ADT/EquivalenceClassesTest.cpp:10:
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-more-matchers.h: In instantiation of ‘bool testing::internal::IsEmptyMatcher::MatchAndExplain(const MatcheeContainerType&, testing::MatchResultListener*) const [with MatcheeContainerType = llvm::iterator_range<llvm::EquivalenceClasses<int>::member_iterator>]’:
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:647:35: required from ‘bool testing::PolymorphicMatcher<Impl>::MonomorphicImpl<T>::MatchAndExplain(T, testing::MatchResultListener*) const [with T = const llvm::iterator_range<llvm::EquivalenceClasses<int>::member_iterator>&; Impl = testing::internal::IsEmptyMatcher]’
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googletest/include/gtest/gtest-matchers.h:646:10: required from here
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/third-party/unittest/googlemock/include/gmock/gmock-more-matchers.h:73:40: error: ‘const class llvm::iterator_range<llvm::EquivalenceClasses<int>::member_iterator>’ has no member named ‘size’
73 | *listener << "whose size is " << c.size();
| ~~^~~~
3.043 [49/65/641] Building CXX object unittests/tools/llvm-cfi-verify/CMakeFiles/CFIVerifyTests.dir/GraphBuilder.cpp.o
3.056 [49/64/642] Building CXX object unittests/tools/llvm-cfi-verify/CMakeFiles/CFIVerifyTests.dir/FileAnalysis.cpp.o
3.178 [49/63/643] Linking CXX executable unittests/ProfileData/ProfileDataTests
3.639 [49/62/644] Linking CXX executable unittests/XRay/XRayTests
3.802 [49/61/645] Linking CXX executable unittests/MC/MCTests
4.847 [49/60/646] Linking CXX executable unittests/Transforms/IPO/IPOTests
6.224 [49/59/647] Linking CXX executable unittests/Target/WebAssembly/WebAssemblyTests
6.463 [49/58/648] Linking CXX executable unittests/Target/PowerPC/PowerPCTests
6.866 [49/57/649] Linking CXX executable unittests/Target/ARM/ARMTests
6.889 [49/56/650] Linking CXX executable unittests/Target/LoongArch/LoongArchTests
7.043 [49/55/651] Linking CXX executable unittests/Target/VE/VETests
7.545 [49/54/652] Linking CXX executable unittests/Target/SPIRV/SPIRVTests
7.671 [49/53/653] Linking CXX executable unittests/Target/RISCV/RISCVTests
7.889 [49/52/654] Linking CXX executable unittests/Target/AArch64/AArch64Tests
8.368 [49/51/655] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
8.491 [49/50/656] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
8.593 [49/49/657] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/DDGTest.cpp.o
9.219 [49/48/658] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/LoopUtilsTest.cpp.o
10.121 [49/47/659] Linking CXX executable unittests/MC/AMDGPU/AMDGPUMCTests
10.608 [49/46/660] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
11.260 [49/45/661] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/VectorUtilsTest.cpp.o
11.531 [49/44/662] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/ReplaceWithVecLibTest.cpp.o
11.967 [49/43/663] Building CXX object unittests/Transforms/Vectorize/CMakeFiles/VectorizeTests.dir/VPlanHCFGTest.cpp.o
12.197 [49/42/664] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/LastRunTrackingAnalysisTest.cpp.o
12.469 [49/41/665] Building CXX object unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/UtilsTest.cpp.o
12.779 [49/40/666] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/VFABIDemanglerTest.cpp.o
12.953 [49/39/667] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/MemTransferLowering.cpp.o
13.183 [49/38/668] Building CXX object unittests/Analysis/CMakeFiles/AnalysisTests.dir/PluginInlineAdvisorAnalysisTest.cpp.o
13.234 [49/37/669] Building CXX object unittests/Transforms/Scalar/CMakeFiles/ScalarTests.dir/LICMTest.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/130139
More information about the llvm-commits
mailing list