[clang] [llvm] [ORC] Remove dead code from EPCDynamicLibrarySearchGenerator. (PR #239008)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 4 17:50:46 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 69014 tests passed
* 889 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>[code=1] runtimes/runtimes-stamps/runtimes-configure /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-stamps/runtimes-configure</summary>
```
FAILED: [code=1] runtimes/runtimes-stamps/runtimes-configure /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-stamps/runtimes-configure
cd /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins && /usr/bin/cmake -E env --modify FLANG_BOOTSTRAP_PROBE=set:1 -- /usr/bin/cmake -DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../compiler-rt -DLLVM_EXTERNAL_LIBC_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libc -DLLVM_EXTERNAL_LIBCXX_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libcxx -DLLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libcxxabi -DLLVM_EXTERNAL_LIBUNWIND_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libunwind -DLLVM_EXTERNAL_ORC_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../orc-rt -DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../flang-rt --no-warn-unused-cli -DCMAKE_C_COMPILER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -DCMAKE_CXX_COMPILER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ -DCMAKE_ASM_COMPILER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang -DCMAKE_Fortran_COMPILER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/fakeflang -DCMAKE_LINKER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/ld.lld -DCMAKE_AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar -DCMAKE_RANLIB=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ranlib -DCMAKE_NM=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-nm -DCMAKE_OBJDUMP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-objdump -DCMAKE_OBJCOPY=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-objcopy -DCMAKE_STRIP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-strip -DCMAKE_READELF=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-readelf -DCMAKE_C_COMPILER_TARGET=x86_64-unknown-linux-gnu -DCMAKE_CXX_COMPILER_TARGET=x86_64-unknown-linux-gnu -DCMAKE_Fortran_COMPILER_TARGET=x86_64-unknown-linux-gnu -DCMAKE_ASM_COMPILER_TARGET=x86_64-unknown-linux-gnu -DCMAKE_INSTALL_PREFIX=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/install -DLLVM_BINARY_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build -DLLVM_CONFIG_PATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-config -DLLVM_ENABLE_WERROR=ON -DLLVM_HOST_TRIPLE=x86_64-unknown-linux-gnu -DLLVM_HAVE_LINK_VERSION_SCRIPT=1 -DLLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO=OFF -DLLVM_USE_RELATIVE_PATHS_IN_FILES=OFF "-DLLVM_LIT_ARGS=-v --xunit-xml-output /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test-results.xml --use-unique-output-file-name --timeout=1200 --time-tests --succinct" -DLLVM_SOURCE_PREFIX= -DPACKAGE_VERSION=24.0.0git -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCOMPILER_RT_BUILD_BUILTINS=Off -DLLVM_INCLUDE_TESTS=ON -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-linux-gnu -DLLVM_ENABLE_PROJECTS_USED=ON -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON -DLLVM_BUILD_TOOLS=ON -DLLVM_ENABLE_DOXYGEN=OFF -DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_CXX_COMPILER_WORKS=ON -DCMAKE_Fortran_COMPILER_WORKS=ON -DCMAKE_ASM_COMPILER_WORKS=ON -DHAVE_LLVM_LIT=ON -DCLANG_RESOURCE_DIR= -DLLVM_LIBDIR_SUFFIX= -DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../compiler-rt -DLLVM_EXTERNAL_LIBC_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libc -DLLVM_EXTERNAL_LIBCXX_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libcxx -DLLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libcxxabi -DLLVM_EXTERNAL_LIBUNWIND_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libunwind -DLLVM_EXTERNAL_ORC_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../orc-rt -DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../flang-rt -DCMAKE_PREFIX_PATH=/home/gha/.local -DFORTRAN_SUPPORTS_REAL16=0 -DCOMPILER_RT_TEST_EXTERNAL_BUILTINS=ON "-DLLVM_ENABLE_RUNTIMES=compiler-rt;libc;libcxx;libcxxabi;libunwind;orc-rt;flang-rt" "-DLLVM_ENABLE_RUNTIMES=compiler-rt;libc;libcxx;libcxxabi;libunwind;orc-rt;flang-rt" -DLLVM_USE_LINKER=lld -DCUDAToolkit_NVCC_EXECUTABLE=CUDAToolkit_NVCC_EXECUTABLE-NOTFOUND -DCUDAToolkit_SENTINEL_FILE=CUDAToolkit_SENTINEL_FILE-NOTFOUND -DFLANG_RUNTIME_F128_MATH_LIB= -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DLIBCLANG_BUILD_STATIC=OFF -DLIBCLANG_LIBRARY_VERSION=24 -DLIBCXX_CXX_ABI=libcxxabi -DLIBCXX_HARDENING_MODE=extensive -DLIBC_GPU_BUILD=OFF -DLLVM_LIBCXX_USED=0 -DLIBC_GPU_BUILD=OFF -DLIBCXX_CXX_ABI=libcxxabi -DLIBCXX_HARDENING_MODE=extensive "-DRUNTIMES_CMAKE_ARGS=-DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../compiler-rt;-DLLVM_EXTERNAL_LIBC_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libc;-DLLVM_EXTERNAL_LIBCXX_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libcxx;-DLLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libcxxabi;-DLLVM_EXTERNAL_LIBUNWIND_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../libunwind;-DLLVM_EXTERNAL_ORC_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../orc-rt;-DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../flang-rt" -GNinja -C/home/gha/actions-runner/_work/llvm-project/llvm-project/build/projects/runtimes/tmp/runtimes-cache-Release.cmake -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/runtimes/../../runtimes -B /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins && /usr/bin/cmake -E touch /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-stamps/runtimes-configure
```
</details>
<details>
<summary>[code=1] examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeFiles/LLJITWithRemoteDebugging.dir/RemoteJITUtils.cpp.o</summary>
```
FAILED: [code=1] examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeFiles/LLJITWithRemoteDebugging.dir/RemoteJITUtils.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/examples/OrcV2Examples/LLJITWithRemoteDebugging -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeFiles/LLJITWithRemoteDebugging.dir/RemoteJITUtils.cpp.o -MF examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeFiles/LLJITWithRemoteDebugging.dir/RemoteJITUtils.cpp.o.d -o examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeFiles/LLJITWithRemoteDebugging.dir/RemoteJITUtils.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp:9:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Core.h:17:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseSet.h:18:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:27:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:26:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:20:
In file included from /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/memory:80:
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1084:34: error: no matching constructor for initialization of 'llvm::orc::EPCDynamicLibrarySearchGenerator'
1084 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp:32:17: note: in instantiation of function template specialization 'std::make_unique<llvm::orc::EPCDynamicLibrarySearchGenerator, llvm::orc::ExecutionSession &, llvm::orc::DylibManager &, llvm::orc::ExecutorAddr &>' requested here
32 | return std::make_unique<EPCDynamicLibrarySearchGenerator>(ES, DylibMgr,
| ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h:41:3: note: candidate constructor not viable: no known conversion from 'llvm::orc::ExecutionSession' to 'DylibManager &' for 1st argument
41 | EPCDynamicLibrarySearchGenerator(
| ^
42 | DylibManager &DylibMgr, tpctypes::DylibHandle H,
| ~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h:55:3: note: candidate constructor not viable: no known conversion from 'llvm::orc::ExecutionSession' to 'DylibManager &' for 1st argument
55 | EPCDynamicLibrarySearchGenerator(
| ^
56 | DylibManager &DylibMgr, SymbolPredicate Allow,
| ~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h:27:16: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
27 | class LLVM_ABI EPCDynamicLibrarySearchGenerator : public DefinitionGenerator {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/239008
More information about the cfe-commits
mailing list