LLVM 23.0.0git
llvm::orc::detail Namespace Reference

Classes

class  ABISupportImpl
struct  CallableArgInfoImpl
struct  CallViaEPCHandlerTraits
struct  CallViaEPCRetValueTraits
struct  CallViaEPCRetValueTraits< Error >
struct  CallViaEPCRetValueTraits< Expected< RetT > >
struct  CallViaEPCRetValueTraits< MSVCPError >
struct  CallViaEPCRetValueTraits< MSVCPExpected< RetT > >
struct  SPSCallSerialization
struct  SPSCallSerializationImpl
class  WaitingOnGraph
 WaitingOnGraph class template. More...
class  WaitingOnGraphOpReplay
class  WaitingOnGraphOpStreamRecorder
 Records WaitingOnGraph operations to a line-oriented text format on a raw_ostream. More...

Functions

template<typename ContainerIdT, typename ElementIdT>
iterator_range< fallible_iterator< typename WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator > > readWaitingOnGraphOpsFromBuffer (StringRef InputBuffer, Error &Err)
 Returns a fallible iterator range over the operations in the given buffer.

Function Documentation

◆ readWaitingOnGraphOpsFromBuffer()

template<typename ContainerIdT, typename ElementIdT>
iterator_range< fallible_iterator< typename WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator > > llvm::orc::detail::readWaitingOnGraphOpsFromBuffer ( StringRef InputBuffer,
Error & Err )

Returns a fallible iterator range over the operations in the given buffer.

The buffer should contain text in the format produced by WaitingOnGraphOpStreamRecorder. Parsing errors are reported through Err.

Parse the next operation from Input into CurrentOp. Sets IsEnd on "end" keyword. Returns Error on parse failure.

Definition at line 315 of file WaitingOnGraphOpReplay.h.

References _, I, llvm::inconvertibleErrorCode(), llvm::make_error(), and llvm::make_fallible_range().