forked from OSchip/llvm-project
[ORC] Update examples for header changes in r281171.
llvm-svn: 281178
This commit is contained in:
parent
8b4e4af5ed
commit
958b699883
|
@ -14,7 +14,7 @@
|
||||||
#ifndef LLVM_TOOLS_LLI_REMOTEJITUTILS_H
|
#ifndef LLVM_TOOLS_LLI_REMOTEJITUTILS_H
|
||||||
#define LLVM_TOOLS_LLI_REMOTEJITUTILS_H
|
#define LLVM_TOOLS_LLI_REMOTEJITUTILS_H
|
||||||
|
|
||||||
#include "llvm/ExecutionEngine/Orc/RPCChannel.h"
|
#include "llvm/ExecutionEngine/Orc/RPCByteChannel.h"
|
||||||
#include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
|
#include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// RPC channel that reads from and writes from file descriptors.
|
/// RPC channel that reads from and writes from file descriptors.
|
||||||
class FDRPCChannel final : public llvm::orc::remote::RPCChannel {
|
class FDRPCChannel final : public llvm::orc::remote::RPCByteChannel {
|
||||||
public:
|
public:
|
||||||
FDRPCChannel(int InFD, int OutFD) : InFD(InFD), OutFD(OutFD) {}
|
FDRPCChannel(int InFD, int OutFD) : InFD(InFD), OutFD(OutFD) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue