diff options
author | Lang Hames <lhames@gmail.com> | 2016-11-11 22:16:10 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-11-11 22:16:10 +0000 |
commit | a31a3dae9f216214172807c5eb9096f802c170b7 (patch) | |
tree | 03ace4cd4f65411cd509486059310cb370d3328d /llvm/unittests/ExecutionEngine | |
parent | db8d7c8c2f1eac16ccb4ddfb58d0ba9c9bf39ca1 (diff) | |
download | bcm5719-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.cpp | 2 |
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"; |