Skip to content

[ORC] Extract MemoryAccess from ExecutorProcessControl, break up header. #145671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 26, 2025

Conversation

lhames
Copy link
Contributor

@lhames lhames commented Jun 25, 2025

This moves the MemoryAccess interface out of the ExecutorProcessControl class and splits implementation classes InProcessMemoryManager and SelfExecutorProcessControl out of ExecutorProcessControl.h and into their own headers.

This moves the MemoryAccess interface out of the ExecutorProcessControl class
and splits implementation classes InProcessMemoryManager and
SelfExecutorProcessControl out of ExecutorProcessControl.h and into their own
headers.
@lhames lhames merged commit 0faa181 into llvm:main Jun 26, 2025
8 checks passed
@lhames lhames deleted the split-up-epc branch June 26, 2025 00:31
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 26, 2025

LLVM Buildbot has detected a new failure on builder clang-m68k-linux-cross running on suse-gary-m68k-cross while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/12106

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
[323/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp.o
[324/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp.o
[325/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTests/TraversalScope.cpp.o
[326/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTestTypeLocVisitor.cpp.o
[327/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTestDeclVisitor.cpp.o
[328/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/FixedPointString.cpp.o
[329/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/ReplacementsYamlTest.cpp.o
[330/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RefactoringActionRulesTest.cpp.o
[331/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/ParsedSourceLocationTest.cpp.o
[332/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ASTImporterTest.cpp.o
FAILED: tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ASTImporterTest.cpp.o 
/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/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/unittests -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Tooling -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/third-party/unittest/googletest/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-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 -fno-common -Woverloaded-virtual -O3 -DNDEBUG -std=c++17  -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -MD -MT tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ASTImporterTest.cpp.o -MF tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ASTImporterTest.cpp.o.d -o tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/AST/ASTImporterTest.cpp.o -c /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/AST/ASTImporterTest.cpp
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[333/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/CompilerInstanceTest.cpp.o
[334/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp.o
[335/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/Syntax/SynthesisTest.cpp.o
[336/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/ASTUnitTest.cpp.o
[337/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/ASTMatchers/ASTMatchersNodeTest.cpp.o
[338/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/ToolingTest.cpp.o
[339/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/ReparseWorkingDirTest.cpp.o
[340/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/OutputStreamTest.cpp.o
[341/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/CompilerInvocationTest.cpp.o
[342/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/Syntax/TreeTestBase.cpp.o
[343/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RefactoringTest.cpp.o
[344/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/Syntax/MutationsTest.cpp.o
[345/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/NoAlterCodeGenActionTest.cpp.o
[346/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTestPostOrderVisitor.cpp.o
[347/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RefactoringCallbacksTest.cpp.o
[348/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/StencilTest.cpp.o
[349/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/FrontendActionTest.cpp.o
In file included from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/unittests/Frontend/FrontendActionTest.cpp:19:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include/clang/Sema/Sema.h:839:7: warning: ‘clang::Sema’ declared with greater visibility than the type of its field ‘clang::Sema::UnusedFileScopedDecls’ [-Wattributes]
  839 | class Sema final : public SemaBase {
      |       ^~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include/clang/Sema/Sema.h:839:7: warning: ‘clang::Sema’ declared with greater visibility than the type of its field ‘clang::Sema::TentativeDefinitions’ [-Wattributes]
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include/clang/Sema/Sema.h:839:7: warning: ‘clang::Sema’ declared with greater visibility than the type of its field ‘clang::Sema::ExtVectorDecls’ [-Wattributes]
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include/clang/Sema/Sema.h:839:7: warning: ‘clang::Sema’ declared with greater visibility than the type of its field ‘clang::Sema::DelegatingCtorDecls’ [-Wattributes]
[350/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTests/InitListExprPostOrder.cpp.o
[351/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/TransformerTest.cpp.o
[352/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/SourceCodeBuildersTest.cpp.o
[353/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/CodeGenActionTest.cpp.o
[354/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/ASTMatchers/ASTMatchersNarrowingTest.cpp.o
[355/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/SourceCodeTest.cpp.o
[356/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Frontend/PCHPreambleTest.cpp.o
[357/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/Syntax/TreeTest.cpp.o
[358/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/Syntax/BuildTreeTest.cpp.o
[359/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/RecursiveASTVisitorTests/CallbacksCallExpr.cpp.o
[360/1161] Building CXX object tools/clang/unittests/CMakeFiles/AllClangUnitTests.dir/Tooling/Syntax/TokensTest.cpp.o

@Michael137
Copy link
Member

Looks like this broke the LLDB standalone build: https://ci.swift.org/view/all/job/llvm.org/job/lldb-cmake-sanitized/1869/console

02:20:00  /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-standalone/llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp:53:16: error: use of undeclared identifier 'SelfExecutorProcessControl'; did you mean 'ExecutorProcessControl'?
02:20:00     53 |     auto EPC = SelfExecutorProcessControl::Create(
02:20:00        |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
02:20:00        |                ExecutorProcessControl
02:20:00  /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-standalone/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h:38:16: note: 'ExecutorProcessControl' declared here
02:20:00     38 | class LLVM_ABI ExecutorProcessControl {
02:20:00        |                ^
02:20:00  /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-standalone/llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp:53:44: error: no member named 'Create' in 'llvm::orc::ExecutorProcessControl'
02:20:00     53 |     auto EPC = SelfExecutorProcessControl::Create(
02:20:00        |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
02:20:00  2 errors generated.
02:20:01  [4188/4233] : && 

Mind taking a look?

anthonyhatran pushed a commit to anthonyhatran/llvm-project that referenced this pull request Jun 26, 2025
…er. (llvm#145671)

This moves the MemoryAccess interface out of the ExecutorProcessControl
class and splits implementation classes InProcessMemoryManager and
SelfExecutorProcessControl out of ExecutorProcessControl.h and into
their own headers.
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 27, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-rel-assert running on linaro-flang-aarch64-rel-assert while building llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/29/builds/14720

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
0.919 [1/6/408] Building C object CMakeFiles/clang_rt.builtins-aarch64.dir/trunctfbf2.c.o
0.919 [1/5/409] Building ASM object CMakeFiles/clang_rt.builtins-aarch64.dir/outline_atomic_helpers.dir/outline_atomic_ldset8_2.S.o
0.920 [1/4/410] Building ASM object CMakeFiles/clang_rt.builtins-aarch64.dir/outline_atomic_helpers.dir/outline_atomic_ldset4_4.S.o
0.923 [1/3/411] Building ASM object CMakeFiles/clang_rt.builtins-aarch64.dir/outline_atomic_helpers.dir/outline_atomic_ldset8_3.S.o
0.924 [1/2/412] Building C object CMakeFiles/clang_rt.builtins-aarch64.dir/truncsfbf2.c.o
0.930 [1/1/413] Building C object CMakeFiles/clang_rt.builtins-aarch64.dir/truncdfbf2.c.o
0.962 [0/1/414] Linking C static library /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/lib/clang/21/lib/aarch64-unknown-linux-gnu/libclang_rt.builtins.a
2829.678 [64/29/7043] Linking CXX executable bin/opt
2830.326 [64/27/7045] Linking CXX executable bin/OrcV2CBindingsIRTransforms
2835.182 [64/26/7046] Building CXX object examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o
FAILED: examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o 
/usr/local/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/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/examples/SpeculativeJIT -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/examples/SpeculativeJIT -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o -MF examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o.d -o examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
../llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp:53:16: error: use of undeclared identifier 'SelfExecutorProcessControl'; did you mean 'ExecutorProcessControl'?
   53 |     auto EPC = SelfExecutorProcessControl::Create(
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                ExecutorProcessControl
../llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h:38:16: note: 'ExecutorProcessControl' declared here
   38 | class LLVM_ABI ExecutorProcessControl {
      |                ^
../llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp:53:44: error: no member named 'Create' in 'llvm::orc::ExecutorProcessControl'
   53 |     auto EPC = SelfExecutorProcessControl::Create(
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2 errors generated.
2836.012 [64/25/7047] Building CXX object examples/OrcV2Examples/LLJITWithOptimizingIRTransform/CMakeFiles/LLJITWithOptimizingIRTransform.dir/LLJITWithOptimizingIRTransform.cpp.o
2836.716 [64/24/7048] Building CXX object examples/OrcV2Examples/LLJITWithLazyReexports/CMakeFiles/LLJITWithLazyReexports.dir/LLJITWithLazyReexports.cpp.o
2840.801 [64/23/7049] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/semantics.cpp.o
2841.207 [64/22/7050] Building CXX object examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeFiles/LLJITWithRemoteDebugging.dir/RemoteJITUtils.cpp.o
2842.952 [64/21/7051] Building CXX object examples/OrcV2Examples/LLJITWithInitializers/CMakeFiles/LLJITWithInitializers.dir/LLJITWithInitializers.cpp.o
2843.259 [64/20/7052] Building CXX object examples/OrcV2Examples/LLJITWithThinLTOSummaries/CMakeFiles/LLJITWithThinLTOSummaries.dir/LLJITWithThinLTOSummaries.cpp.o
2844.236 [64/19/7053] Building CXX object examples/OrcV2Examples/LLJITDumpObjects/CMakeFiles/LLJITDumpObjects.dir/LLJITDumpObjects.cpp.o
2844.382 [64/18/7054] Building CXX object examples/HowToUseLLJIT/CMakeFiles/HowToUseLLJIT.dir/HowToUseLLJIT.cpp.o
2844.939 [64/17/7055] Building CXX object examples/OrcV2Examples/LLJITWithExecutorProcessControl/CMakeFiles/LLJITWithExecutorProcessControl.dir/LLJITWithExecutorProcessControl.cpp.o
2845.118 [64/16/7056] Building CXX object examples/OrcV2Examples/LLJITWithCustomObjectLinkingLayer/CMakeFiles/LLJITWithCustomObjectLinkingLayer.dir/LLJITWithCustomObjectLinkingLayer.cpp.o
2845.247 [64/15/7057] Building CXX object examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/CMakeFiles/LLJITWithObjectLinkingLayerPlugin.dir/LLJITWithObjectLinkingLayerPlugin.cpp.o
2845.999 [64/14/7058] Building CXX object examples/OrcV2Examples/LLJITWithObjectCache/CMakeFiles/LLJITWithObjectCache.dir/LLJITWithObjectCache.cpp.o
2846.513 [64/13/7059] Building CXX object examples/OrcV2Examples/LLJITRemovableCode/CMakeFiles/LLJITRemovableCode.dir/LLJITRemovableCode.cpp.o
2847.079 [64/12/7060] Building CXX object examples/OrcV2Examples/LLJITWithRemoteDebugging/CMakeFiles/LLJITWithRemoteDebugging.dir/LLJITWithRemoteDebugging.cpp.o
2847.081 [64/11/7061] Building CXX object examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeFiles/BuildingAJIT-Ch2.dir/toy.cpp.o
2847.866 [64/10/7062] Building CXX object examples/OrcV2Examples/LLJITWithGDBRegistrationListener/CMakeFiles/LLJITWithGDBRegistrationListener.dir/LLJITWithGDBRegistrationListener.cpp.o
2848.334 [64/9/7063] Building CXX object examples/Kaleidoscope/BuildingAJIT/Chapter1/CMakeFiles/BuildingAJIT-Ch1.dir/toy.cpp.o
2849.706 [64/8/7064] Building CXX object examples/Kaleidoscope/BuildingAJIT/Chapter4/CMakeFiles/BuildingAJIT-Ch4.dir/toy.cpp.o
2850.213 [64/7/7065] Building CXX object examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeFiles/BuildingAJIT-Ch3.dir/toy.cpp.o
2851.331 [64/6/7066] Building CXX object examples/Kaleidoscope/Chapter7/CMakeFiles/Kaleidoscope-Ch7.dir/toy.cpp.o
2853.771 [64/5/7067] Building CXX object examples/Kaleidoscope/Chapter9/CMakeFiles/Kaleidoscope-Ch9.dir/toy.cpp.o
2863.022 [64/4/7068] Building CXX object examples/Kaleidoscope/Chapter6/CMakeFiles/Kaleidoscope-Ch6.dir/toy.cpp.o
2864.353 [64/3/7069] Building CXX object examples/Kaleidoscope/Chapter5/CMakeFiles/Kaleidoscope-Ch5.dir/toy.cpp.o
2865.140 [64/2/7070] Building CXX object examples/Kaleidoscope/Chapter4/CMakeFiles/Kaleidoscope-Ch4.dir/toy.cpp.o
2902.700 [64/1/7071] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/resolve-names.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 27, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-sharedlibs running on linaro-flang-aarch64-sharedlibs while building llvm at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/80/builds/14241

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
-- Performing Test COMPILER_RT_HAS_aarch64_FLOAT16
-- Performing Test COMPILER_RT_HAS_aarch64_FLOAT16 - Success
-- Performing Test COMPILER_RT_HAS_aarch64_BFLOAT16
-- Performing Test COMPILER_RT_HAS_aarch64_BFLOAT16 - Success
-- For aarch64 builtins preferring aarch64/fp_mode.c to fp_mode.c
-- Configuring done (8.6s)
-- Generating done (0.0s)
-- Build files have been written to: /home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/runtimes/builtins-bins
119.045 [280/13/7405] Linking CXX executable bin/mlir-reduce
139.005 [280/11/7407] Building CXX object examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o
FAILED: examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o 
/usr/local/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/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/examples/SpeculativeJIT -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/llvm/examples/SpeculativeJIT -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/llvm/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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o -MF examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o.d -o examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
../llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp:53:16: error: use of undeclared identifier 'SelfExecutorProcessControl'; did you mean 'ExecutorProcessControl'?
   53 |     auto EPC = SelfExecutorProcessControl::Create(
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                ExecutorProcessControl
../llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h:38:16: note: 'ExecutorProcessControl' declared here
   38 | class LLVM_ABI ExecutorProcessControl {
      |                ^
../llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp:53:44: error: no member named 'Create' in 'llvm::orc::ExecutorProcessControl'
   53 |     auto EPC = SelfExecutorProcessControl::Create(
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2 errors generated.
139.939 [280/10/7408] Building CXX object tools/mlir/lib/ExecutionEngine/CMakeFiles/MLIRJitRunner.dir/JitRunner.cpp.o
140.196 [280/9/7409] Building CXX object tools/llvm-exegesis/lib/AArch64/CMakeFiles/obj.LLVMExegesisAArch64.dir/Target.cpp.o
153.588 [280/8/7410] Building CXX object tools/mlir/lib/ExecutionEngine/CMakeFiles/MLIRExecutionEngine.dir/ExecutionEngine.cpp.o
161.190 [280/7/7411] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/cmake_pch.hxx.pch
163.657 [280/6/7412] Building CXX object tools/clang/tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o
171.493 [280/5/7413] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o
184.310 [280/4/7414] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/cmake_pch.hxx.pch
198.242 [280/3/7415] Building CXX object tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.pch
303.682 [280/2/7416] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/cmake_pch.hxx.pch
326.231 [280/1/7417] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/cmake_pch.hxx.pch
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 27, 2025

LLVM Buildbot has detected a new failure on builder clang-s390x-linux-lnt running on systemz-1 while building llvm at step 13 "setup lit".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/136/builds/4390

Here is the relevant piece of the build log for the reference
Step 13 (setup lit) failure: '/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/bin/python /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/lnt/setup.py ...' (failure)
...
writing requirements to LNT.egg-info/requires.txt
writing top-level names to LNT.egg-info/top_level.txt
reading manifest file 'LNT.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'tests/*/Output'
no previously-included directories found matching 'tests/*/*/Output'
adding license file 'LICENSE.TXT'
writing manifest file 'LNT.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-s390x-3.10/lnt/testing/profile/cPerf.cpython-310-s390x-linux-gnu.so -> lnt/testing/profile
Creating /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/lib/python3.10/site-packages/LNT.egg-link (link to .)
Adding LNT 0.4.2.dev0 to easy-install.pth file
Installing lnt script to /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/bin

Installed /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/lnt
Processing dependencies for LNT==0.4.2.dev0
Searching for typing
Reading https://pypi.org/simple/typing/
/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning:  is an invalid version and will not be supported in a future release
  warnings.warn(
Downloading https://files.pythonhosted.org/packages/f2/5d/865e17349564eb1772688d8afc5e3081a5964c640d64d1d2880ebaed002d/typing-3.10.0.0-py3-none-any.whl#sha256=12fbdfbe7d6cca1a42e485229afcb0b0c8259258cfb919b8a5e2a5c953742f89
Best match: typing 3.10.0.0
Processing typing-3.10.0.0-py3-none-any.whl
Installing typing-3.10.0.0-py3-none-any.whl to /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/lib/python3.10/site-packages
Adding typing 3.10.0.0 to easy-install.pth file

Installed /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/lib/python3.10/site-packages/typing-3.10.0.0-py3.10.egg
Searching for six
Reading https://pypi.org/simple/six/
Downloading https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl#sha256=4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274
Best match: six 1.17.0
Processing six-1.17.0-py2.py3-none-any.whl
Installing six-1.17.0-py2.py3-none-any.whl to /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/lib/python3.10/site-packages
Adding six 1.17.0 to easy-install.pth file

Installed /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/lib/python3.10/site-packages/six-1.17.0-py3.10.egg
Searching for requests
Reading https://pypi.org/simple/requests/
Downloading https://files.pythonhosted.org/packages/7c/e4/56027c4a6b4ae70ca9de302488c5ca95ad4a39e190093d6c1a8ace08341b/requests-2.32.4-py3-none-any.whl#sha256=27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c
Best match: requests 2.32.4
Processing requests-2.32.4-py3-none-any.whl
Installing requests-2.32.4-py3-none-any.whl to /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/lib/python3.10/site-packages
Adding requests 2.32.4 to easy-install.pth file

Installed /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/test/sandbox/lib/python3.10/site-packages/requests-2.32.4-py3.10.egg
Searching for pyyaml==5.1.2
Reading https://pypi.org/simple/pyyaml/
Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz#sha256=01adf0b6c6f61bd11af6e10ca52b7d4057dd0be0343eb9283c878cf3af56aee4
error: The read operation timed out

rlavaee pushed a commit to rlavaee/llvm-project that referenced this pull request Jul 1, 2025
…er. (llvm#145671)

This moves the MemoryAccess interface out of the ExecutorProcessControl
class and splits implementation classes InProcessMemoryManager and
SelfExecutorProcessControl out of ExecutorProcessControl.h and into
their own headers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants