You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /home/xman/projects/tapir-meta.git/tapir/tools/lli/lli.cpp:30:
/home/xman/projects/tapir-meta.git/tapir/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h: In member function ‘llvm::Expected<std::vector > llvm::orc::remote::OrcRemoteTargetClient::readMem(char*, llvm::JITTargetAddress, uint64_t)’:
/home/xman/projects/tapir-meta.git/tapir/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:722:26: error: could not convert ‘((llvm::orc::remote::OrcRemoteTargetClient*)this)->callBllvm::orc::remote::OrcRemoteTargetRPCAPI::ReadMem(Src, Size)’ from ‘Expected<vector<unsigned char,allocator>>’ to ‘Expected<vector<char,allocator>>’
return callB(Src, Size);
The text was updated successfully, but these errors were encountered:
Changing the readMem() to return this Expected<std::vector> resolves the compile error leading to successful build. I hope that doesn't break something else.
Compile error:
In file included from /home/xman/projects/tapir-meta.git/tapir/tools/lli/lli.cpp:30:
/home/xman/projects/tapir-meta.git/tapir/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h: In member function ‘llvm::Expected<std::vector > llvm::orc::remote::OrcRemoteTargetClient::readMem(char*, llvm::JITTargetAddress, uint64_t)’:
/home/xman/projects/tapir-meta.git/tapir/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:722:26: error: could not convert ‘((llvm::orc::remote::OrcRemoteTargetClient*)this)->callBllvm::orc::remote::OrcRemoteTargetRPCAPI::ReadMem(Src, Size)’ from ‘Expected<vector<unsigned char,allocator>>’ to ‘Expected<vector<char,allocator>>’
return callB(Src, Size);
The text was updated successfully, but these errors were encountered: