forked from OSchip/llvm-project
da59241327
WrapperFunctionResult is a C++ wrapper for __orc_rt_CWrapperFunctionResult that automatically manages the underlying struct. The Simple Packed Serialization (SPS) utilities support a simple serialization scheme for wrapper function argument and result buffers: Primitive typess (bool, char, int8_t, and uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t) are serialized in little-endian form. SPSTuples are serialized by serializing each of the tuple members in order without padding. SPSSequences are serialized by serializing a sequence length (as a uint64_t) followed by each of the elements of the sequence in order without padding. Serialization/deserialization always involves a pair of SPS type tag (a tag representing the serialized format to use, e.g. uint32_t, or SPSTuple<bool, SPSString>) and a concrete type to be serialized from or deserialized to (uint32_t, std::pair<bool, std::string>). Serialization for new types can be implemented by specializing the SPSSerializationTraits type. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
adt_test.cpp | ||
c_api_test.cpp | ||
endian_test.cpp | ||
error_test.cpp | ||
extensible_rtti_test.cpp | ||
orc_unit_test_main.cpp | ||
stl_extras_test.cpp | ||
wrapper_function_utils_test.cpp |