summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-04-25 19:56:45 +0000
committerLang Hames <lhames@gmail.com>2016-04-25 19:56:45 +0000
commitef5a0ee2c3dad1c0e2fc51cf260a76d2acadf063 (patch)
treeb64ecf2ee46a302e33d6348b66917baf1bec1f2d /llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp
parent074ea2851c4a4c5afeba2390d905eca062d66096 (diff)
downloadbcm5719-llvm-ef5a0ee2c3dad1c0e2fc51cf260a76d2acadf063.tar.gz
bcm5719-llvm-ef5a0ee2c3dad1c0e2fc51cf260a76d2acadf063.zip
[ORC] Thread Error/Expected through the RPC library.
This replaces use of std::error_code and ErrorOr in the ORC RPC support library with Error and Expected. This required updating the OrcRemoteTarget API, Client, and server code, as well as updating the Orc C API. This patch also fixes several instances where Errors were dropped. llvm-svn: 267457
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp b/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp
index a27e649b616..fedf163e4fb 100644
--- a/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp
@@ -25,12 +25,12 @@ public:
class DummyStubsManager : public orc::IndirectStubsManager {
public:
- std::error_code createStub(StringRef StubName, TargetAddress InitAddr,
+ Error createStub(StringRef StubName, TargetAddress InitAddr,
JITSymbolFlags Flags) override {
llvm_unreachable("Not implemented");
}
- std::error_code createStubs(const StubInitsMap &StubInits) override {
+ Error createStubs(const StubInitsMap &StubInits) override {
llvm_unreachable("Not implemented");
}
@@ -42,7 +42,7 @@ public:
llvm_unreachable("Not implemented");
}
- std::error_code updatePointer(StringRef Name,
+ Error updatePointer(StringRef Name,
TargetAddress NewAddr) override {
llvm_unreachable("Not implemented");
}
OpenPOWER on IntegriCloud