LLVM 20.0.0git
|
Helper type for serializing Errors. More...
#include "llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h"
Public Attributes | |
bool | HasError = false |
std::string | ErrMsg |
Helper type for serializing Errors.
llvm::Errors are move-only, and not inspectable except by consuming them. This makes them unsuitable for direct serialization via SPSSerializationTraits, which needs to inspect values twice (once to determine the amount of space to reserve, and then again to serialize).
The SPSSerializableError type is a helper that can be constructed from an llvm::Error, but inspected more than once.
Definition at line 602 of file SimplePackedSerialization.h.
std::string llvm::orc::shared::detail::SPSSerializableError::ErrMsg |
Definition at line 604 of file SimplePackedSerialization.h.
Referenced by llvm::orc::shared::SPSSerializationTraits< SPSError, detail::SPSSerializableError >::deserialize(), llvm::orc::shared::detail::fromSPSSerializable(), llvm::orc::shared::SPSSerializationTraits< SPSError, detail::SPSSerializableError >::serialize(), llvm::orc::shared::SPSSerializationTraits< SPSExpected< SPSTagT >, detail::SPSSerializableError >::serialize(), llvm::orc::shared::SPSSerializationTraits< SPSError, detail::SPSSerializableError >::size(), and llvm::orc::shared::SPSSerializationTraits< SPSExpected< SPSTagT >, detail::SPSSerializableError >::size().
bool llvm::orc::shared::detail::SPSSerializableError::HasError = false |
Definition at line 603 of file SimplePackedSerialization.h.
Referenced by llvm::orc::shared::SPSSerializationTraits< SPSError, detail::SPSSerializableError >::deserialize(), llvm::orc::shared::detail::fromSPSSerializable(), llvm::orc::shared::SPSSerializationTraits< SPSError, detail::SPSSerializableError >::serialize(), llvm::orc::shared::SPSSerializationTraits< SPSExpected< SPSTagT >, detail::SPSSerializableError >::serialize(), llvm::orc::shared::SPSSerializationTraits< SPSError, detail::SPSSerializableError >::size(), and llvm::orc::shared::SPSSerializationTraits< SPSExpected< SPSTagT >, detail::SPSSerializableError >::size().