mirror-llvm-project/orc-rt/test/unit
Lang Hames 4df68548fc
[orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243)
Bring the wrapper-function call and return prototypes into line with the
convention adopted for orc_rt_Session_callController: the session handle
comes first, then the payload buffer, then the completion callback
immediately followed by its threaded token, with the token last.

  orc_rt_WrapperFunctionReturn: (S, CallId, ResultBytes)
                             -> (S, ResultBytes, CallId)
  orc_rt_WrapperFunction:       (S, CallId, Return, ArgBytes)
                             -> (S, ArgBytes, Return, CallId)

The C++ adapters that mirror these signatures are updated to match --
WrapperFunction::handle, SPSWrapperFunction::handle, the
ORC_RT_SPS_WRAPPER macro, and StructuredYield -- along with the Session
dispatch path and the affected unit tests. No functional change beyond
argument order.
2026-07-28 17:14:30 +10:00
..
Inputs
AllocActionTest.cpp [orc-rt] Close with "// namespace" consistently. NFC. (#209979) 2026-07-16 16:43:52 +10:00
AllocActionTestUtils.h
bind-test.cpp
bit-test.cpp
BitmaskEnumTest.cpp
BootstrapInfoTest.cpp
CallableTraitsHelperTest.cpp
CallSPSCITest.cpp
CCallbackTest.cpp [orc-rt] Add asCCallback utility -- C callbacks for methods. (#210048) 2026-07-17 10:19:47 +10:00
CMakeLists.txt [orc-rt] Add StringExtras::join from llvm/adt and tests (#212179) 2026-07-27 08:08:34 +00:00
CommandLineTest.cpp
CommonTestUtils.h [orc-rt] Run controller-call continuations from Session (#211166) 2026-07-22 14:13:10 +10:00
CompilerTest.cpp [orc-rt] Close with "// namespace" consistently. NFC. (#209979) 2026-07-16 16:43:52 +10:00
DirectCaller.h [orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243) 2026-07-28 17:14:30 +10:00
EndianTest.cpp
ErrorCAPITest.cpp [orc-rt] Close with "// namespace" consistently. NFC. (#209979) 2026-07-16 16:43:52 +10:00
ErrorExceptionInteropTest.cpp [orc-rt] Close with "// namespace" consistently. NFC. (#209979) 2026-07-16 16:43:52 +10:00
ErrorTest.cpp [orc-rt] Close with "// namespace" consistently. NFC. (#209979) 2026-07-16 16:43:52 +10:00
ExecutorAddressTest.cpp
ExecutorProcessInfoTest.cpp
InProcessControllerAccessTest.cpp [orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243) 2026-07-28 17:14:30 +10:00
IntervalMapTest.cpp
IntervalSetTest.cpp
iterator_range-test.cpp
lit.cfg.py
lit.site.cfg.py.in
LockedAccessTest.cpp [orc-rt] Close with "// namespace" consistently. NFC. (#209979) 2026-07-16 16:43:52 +10:00
LoggingTest.cpp [orc-rt] Add ORC_RT_LOG_PUB_S for logging runtime strings. (#209401) 2026-07-14 20:17:27 +10:00
MacroUtilsTest.cpp
MathTest.cpp
MemoryAccessSPSCITest.cpp
MemoryFlagsTest.cpp
move_only_function-test.cpp
NativeDylibManagerSPSCITest.cpp
NativeDylibManagerTest.cpp
QueueingRunnerTest.cpp [orc-rt] Replace RunWrapperCall with generalized Dispatch (#210591) 2026-07-20 09:41:04 +10:00
RTTITest.cpp [orc-rt] Close with "// namespace" consistently. NFC. (#209979) 2026-07-16 16:43:52 +10:00
scope_exit-test.cpp
SessionTest.cpp [orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243) 2026-07-28 17:14:30 +10:00
SimpleNativeMemoryMapSPSCITest.cpp
SimpleNativeMemoryMapTest.cpp
SimplePackedSerializationTest.cpp
SimplePackedSerializationTestUtils.h
SimpleSymbolTableTest.cpp
span-test.cpp
SPSAllocActionTest.cpp
SPSMemoryFlagsTest.cpp
SPSWrapperFunctionBufferTest.cpp
SPSWrapperFunctionTest.cpp [orc-rt] Reorder wrapper-fn args to trailing-callback style. (#212243) 2026-07-28 17:14:30 +10:00
StandaloneMachOUnwindInfoRegistrarTest.cpp
StringExtrasTest.cpp [orc-rt] Add StringExtras::join from llvm/adt and tests (#212179) 2026-07-27 08:08:34 +00:00
TaskGroupTest.cpp [orc-rt] Add TaskGroup::TokenSource; drop raw group accessor (#210240) 2026-07-17 14:45:45 +10:00
ThreadPoolRunnerTest.cpp [orc-rt] Make ThreadPoolRunner a generic task runner. (#212229) 2026-07-27 22:12:07 +10:00
WrapperFunctionBufferTest.cpp [orc-rt] Close with "// namespace" consistently. NFC. (#209979) 2026-07-16 16:43:52 +10:00