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

Classes

class  ABISupportImpl
struct  ProxyErrorRet
 Maps a proxy's callee return type to the type delivered to the client, so a dispatch failure can always be reported alongside the result: More...
struct  ProxyErrorRet< Error >
struct  ProxyErrorRet< Expected< T > >
struct  ProxyErrorRet< void >
struct  ProxyRetPromise
 Maps a proxy's client-facing return type to the std::promise value type used by the blocking call operator (working around MSVC's std::promise). More...
struct  ProxyRetPromise< Error >
struct  ProxyRetPromise< Expected< T > >
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 311 of file WaitingOnGraphOpReplay.h.

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