summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-11-11 22:16:10 +0000
committerLang Hames <lhames@gmail.com>2016-11-11 22:16:10 +0000
commita31a3dae9f216214172807c5eb9096f802c170b7 (patch)
tree03ace4cd4f65411cd509486059310cb370d3328d /llvm/unittests/ExecutionEngine
parentdb8d7c8c2f1eac16ccb4ddfb58d0ba9c9bf39ca1 (diff)
downloadbcm5719-llvm-a31a3dae9f216214172807c5eb9096f802c170b7.tar.gz
bcm5719-llvm-a31a3dae9f216214172807c5eb9096f802c170b7.zip
[ORC] Temporarily fix the RPCUtils unit test by explicitly specifying a handler
return type. This should be fixed permanently by having the RPCUtils header recognize the ErrorSuccess type. I'll commit that in a follow up patch. llvm-svn: 286646
Diffstat (limited to 'llvm/unittests/ExecutionEngine')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
index 4d703c78a0e..565ebfa3f8f 100644
--- a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
@@ -191,7 +191,7 @@ TEST(DummyRPC, TestSerialization) {
Server.addHandler<DummyRPCAPI::AllTheTypes>(
[&](int8_t S8, uint8_t U8, int16_t S16, uint16_t U16,
int32_t S32, uint32_t U32, int64_t S64, uint64_t U64,
- bool B, std::string S, std::vector<int> V) {
+ bool B, std::string S, std::vector<int> V) -> Error {
EXPECT_EQ(S8, -101) << "int8_t serialization broken";
EXPECT_EQ(U8, 250) << "uint8_t serialization broken";
OpenPOWER on IntegriCloud