[all-commits] [llvm/llvm-project] ba3717: [ORC] Add rt::sps::MainCaller for running main-lik...
Lang Hames via All-commits
all-commits at lists.llvm.org
Thu Jul 30 03:16:31 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba371791db4f9e7ef05f0a1c26529298b2951a4b
https://github.com/llvm/llvm-project/commit/ba371791db4f9e7ef05f0a1c26529298b2951a4b
Author: Lang Hames <lhames at gmail.com>
Date: 2026-07-30 (Thu, 30 Jul 2026)
Changed paths:
A llvm/include/llvm/ExecutionEngine/Orc/RTBridge/Calls.h
A llvm/include/llvm/ExecutionEngine/Orc/RTBridge/SPS/Calls.h
M llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
A llvm/unittests/ExecutionEngine/Orc/SPSCallersTest.cpp
Log Message:
-----------
[ORC] Add rt::sps::MainCaller for running main-like functions. (#212948)
rt::MainCaller is a controller-side interface for running functions with
a main-like signature (int(int argc, char *argv[])) in the executor.
rt::sps::MainCaller is rt::MainCaller's first implementation, which
invokes main functions using on ORC runtime's orc_rt_ci_sps_call_main
entrypoint (using Simple Packed Serialization for argument/return
encoding / decoding).
These utilities live under the ExecutionEngine/Orc/RTBridge directory,
which is intended to hold controller-side utilities for invoking ORC
runtime systems. Subdirectories (e.g. SPS) hold implementations for
specific serialization schemes.
Adds SPSCallersTest with coverage for direct construction, the
synchronous and asynchronous call operators, use through the
rt::MainCaller interface, and the Create / bootstrap-JITDylib lookup
path.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list