[PATCH] D104694: [ORC] Require TargetProcessControl instance when constructing ExecutionSession.

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 02:11:22 PDT 2021


lhames created this revision.
lhames added reviewers: dblaikie, sgraenitz.
Herald added a subscriber: hiraditya.
lhames requested review of this revision.
Herald added a project: LLVM.

This will...

1. Simplify ES+TPC-based utilities, which will now only need an ExecutionSession

instance.

2. Simplify call and handle operations for wrapper functions, which will now be

able to be implemented on ExecutionSession.

3. Simplify termination, since TargetProcessControl::disconnect can now be called automatically from ExecutionSession::endSession.

This patch updates all in-tree code and examples except for
LLJITWithRemoteDebugging, which I'm still looking in to.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104694

Files:
  llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h
  llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
  llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
  llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h
  llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h
  llvm/include/llvm/ExecutionEngine/Orc/Core.h
  llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
  llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
  llvm/include/llvm/ExecutionEngine/Orc/TPCDebugObjectRegistrar.h
  llvm/include/llvm/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.h
  llvm/include/llvm/ExecutionEngine/Orc/TPCEHFrameRegistrar.h
  llvm/include/llvm/ExecutionEngine/Orc/TargetProcessControl.h
  llvm/lib/ExecutionEngine/Orc/Core.cpp
  llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
  llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
  llvm/lib/ExecutionEngine/Orc/TPCDebugObjectRegistrar.cpp
  llvm/lib/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.cpp
  llvm/lib/ExecutionEngine/Orc/TPCEHFrameRegistrar.cpp
  llvm/lib/ExecutionEngine/Orc/TargetProcessControl.cpp
  llvm/tools/lli/lli.cpp
  llvm/tools/llvm-jitlink/llvm-jitlink.cpp
  llvm/tools/llvm-jitlink/llvm-jitlink.h
  llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
  llvm/unittests/ExecutionEngine/Orc/ObjectLinkingLayerTest.cpp
  llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h
  llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104694.353582.patch
Type: text/x-patch
Size: 48733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210622/51df9d18/attachment.bin>


More information about the llvm-commits mailing list