diff options
author | Lang Hames <lhames@gmail.com> | 2016-11-12 02:19:31 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-11-12 02:19:31 +0000 |
commit | 03418af0464063af381a6a715d00f749da95f6e2 (patch) | |
tree | d848794e918cd0fe1c33cfed4c7e78f53f757e38 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 8fa568d761183c9c34f6fffa64fe541fe5277376 (diff) | |
download | llvm-03418af0464063af381a6a715d00f749da95f6e2.zip llvm-03418af0464063af381a6a715d00f749da95f6e2.tar.gz llvm-03418af0464063af381a6a715d00f749da95f6e2.tar.bz2 |
[ORC] Add a WrappedHandlerReturn type to map handler return types onto error
return types.
This class allows user provided handlers to return either error-wrapped types
or plain types. In the latter case, the plain type is wrapped with a success
value of Error or Expected<T> type to fit it into the rest of the serialization
machinery.
This patch allows us to remove the RPC unit-test workaround added in r286646.
llvm-svn: 286701
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions