6 Commits

Author SHA1 Message Date
Lang Hames
28b3f2f04b
[orc-rt] Add SPSExecutorAddr <-> T* serialization. (#162992)
This replaces SPS transparent conversion for pointers. Transparent
conversion only applies to argument/return types, not nested types. We
want to be able to serialize / deserialize structs containing pointers.

We may need to replace this in the near future with a new SPSPointer tag
type, since SPSExecutorAddr is meant to be serialization for pure
addresses, and pointers may carry other information (e.g. tag bits), but
we can do that in a follow-up commit.
2025-10-11 22:24:03 +11:00
Lang Hames
e706a30ad5
[orc-rt] Add SPS serialization support for size_t. (#162214)
Serialize size_ts to uint64_t.
2025-10-07 14:18:18 +11:00
Lang Hames
9f4cf6db7e
[orc-rt] Simplify construction of SPSSerializableExpected from values. (#157796)
Adds an overload of toSPSSerializableExpected that takes a plain T value
and returns an SPSSerializableExpected<T>. This will reduce some
boilerplate when creating SPSSerializableExpected values.
2025-09-10 14:56:12 +10:00
Lang Hames
cff2fdcbc3
[orc-rt] Add SPS serialization for ExecutorAddr. (#157242) 2025-09-06 18:08:35 +10:00
Lang Hames
2b73dad3c2
[orc-rt] Clean up SPS serialization for Error, Expected; add testcase. (#157029)
This commit cleans up the SPS serialization code for Error and Expected,
and adds test cases for success and failure values of each.
2025-09-05 17:18:41 +10:00
Lang Hames
8d2e06ea22
[orc-rt] Add SimplePackedSerialization. (#155212)
Ports the simple-packed-serialization scheme from the old ORC runtime at
compiler-rt/lib/orc/simple_packed_serialization.h.
2025-08-25 16:28:05 +10:00