[llvm] r286646 - [ORC] Temporarily fix the RPCUtils unit test by explicitly specifying a handler
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 11 14:16:11 PST 2016
Author: lhames
Date: Fri Nov 11 16:16:10 2016
New Revision: 286646
URL: http://llvm.org/viewvc/llvm-project?rev=286646&view=rev
Log:
[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.
Modified:
llvm/trunk/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
Modified: llvm/trunk/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp?rev=286646&r1=286645&r2=286646&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp Fri Nov 11 16:16:10 2016
@@ -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";
More information about the llvm-commits
mailing list