[clang-tools-extra] [clangd] Support outgoing calls in call hierarchy (PR #77556)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 25 21:03:04 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clangd-ubuntu-tsan` running on `clangd-ubuntu-clang` while building `clang-tools-extra` at step 5 "build-clangd-clangd-index-server-clangd-indexer".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/134/builds/9267
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-clangd-clangd-index-server-clangd-indexer) failure: build (failure)
...
130.085 [98/18/4531] Linking CXX static library lib/libclangTidyLLVMLibcModule.a
130.253 [97/18/4532] Linking CXX static library lib/libclangTidyZirconModule.a
130.348 [96/18/4533] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o
130.602 [95/18/4534] Linking CXX static library lib/libclangTidyReadabilityModule.a
130.847 [94/18/4535] Linking CXX static library lib/libclangTidyGoogleModule.a
131.010 [93/18/4536] Linking CXX static library lib/libclangTidyFuchsiaModule.a
131.201 [92/18/4537] Linking CXX static library lib/libclangTidyLLVMModule.a
132.148 [91/18/4538] Linking CXX static library lib/libclangTidyModernizeModule.a
132.578 [90/18/4539] Linking CXX static library lib/libclangTidyCppCoreGuidelinesModule.a
133.115 [89/18/4540] Building CXX object tools/clang/tools/extra/clangd/index/remote/CMakeFiles/obj.clangdRemoteIndex.dir/Client.cpp.o
FAILED: tools/clang/tools/extra/clangd/index/remote/CMakeFiles/obj.clangdRemoteIndex.dir/Client.cpp.o
ccache /usr/bin/clang++ -DGOOGLE_PROTOBUF_NO_RTTI=1 -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/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/tools/extra/clangd/index/remote -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/index/remote -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/../include-cleaner/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/tools/extra/clangd/../clang-tidy -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/tools/extra/clangd -I/usr/local/lib/grpc/include -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 -fno-omit-frame-pointer -gline-tables-only -fsanitize=thread -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/tools/extra/clangd/index/remote/CMakeFiles/obj.clangdRemoteIndex.dir/Client.cpp.o -MF tools/clang/tools/extra/clangd/index/remote/CMakeFiles/obj.clangdRemoteIndex.dir/Client.cpp.o.d -o tools/clang/tools/extra/clangd/index/remote/CMakeFiles/obj.clangdRemoteIndex.dir/Client.cpp.o -c /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/index/remote/Client.cpp
In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/index/remote/Client.cpp:9:
In file included from /usr/local/lib/grpc/include/grpc++/grpc++.h:26:
In file included from /usr/local/lib/grpc/include/grpcpp/grpcpp.h:53:
In file included from /usr/local/lib/grpc/include/grpcpp/channel.h:28:
In file included from /usr/local/lib/grpc/include/grpcpp/impl/codegen/completion_queue.h:41:
/usr/local/lib/grpc/include/grpcpp/impl/codegen/rpc_service_method.h:144:7: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
144 | default:
| ^
In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/index/remote/Client.cpp:13:
In file included from /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/tools/extra/clangd/index/remote/Service.grpc.pb.h:23:
/usr/local/lib/grpc/include/grpcpp/impl/codegen/client_callback.h:111:7: warning: 'grpc::internal::ClientReactor' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
111 | class ClientReactor {
| ^
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/index/remote/Client.cpp:190:11: error: allocating an object of abstract class type 'IndexClient'
190 | new IndexClient(Channel, Address, ProjectRoot));
| ^
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang-tools-extra/clangd/index/Index.h:172:16: note: unimplemented pure virtual method 'containedRefs' in 'IndexClient'
172 | virtual bool containedRefs(
| ^
2 warnings and 1 error generated.
133.389 [89/17/4541] Linking CXX static library lib/libclangTidyBugproneModule.a
139.472 [89/16/4542] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o
140.641 [89/15/4543] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o
140.800 [89/14/4544] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ScopifyEnum.cpp.o
141.263 [89/13/4545] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapBinaryOperands.cpp.o
141.812 [89/12/4546] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o
144.205 [89/11/4547] Building CXX object tools/clang/tools/extra/clangd/index/remote/marshalling/CMakeFiles/obj.clangdRemoteMarshalling.dir/Marshalling.cpp.o
144.456 [89/10/4548] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o
144.648 [89/9/4549] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o
144.814 [89/8/4550] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o
145.417 [89/7/4551] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o
147.135 [89/6/4552] Building CXX object tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o
147.571 [89/5/4553] Building CXX object tools/clang/tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o
153.078 [89/4/4554] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o
153.140 [89/3/4555] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o
154.416 [89/2/4556] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o
164.368 [89/1/4557] Building CXX object tools/clang/tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/77556
More information about the cfe-commits
mailing list