llvm-project/lldb/unittests/Utility
Pavel Labath a24a3a30d0 Add Status -- llvm::Error glue
Summary:
This adds functions to convert between llvm::Error and Status classes.
Posix errors in Status are represented as llvm::ECError, and the rest as
llvm::StringError.

For the conversion from Error to Status, ECError is again represented as
a posix error in Status, while other errors are stored as generic errors
and only the string value is preserved.

Reviewers: zturner, jingham

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D33241

llvm-svn: 303348
2017-05-18 12:46:50 +00:00
..
Mocks Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
CMakeLists.txt Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ConstStringTest.cpp Remove LIBLLDB_LOG_VERBOSE category 2017-02-05 00:44:54 +00:00
LogTest.cpp Remove lldb streams from the Log class completely 2017-03-15 09:06:58 +00:00
NameMatchesTest.cpp Fix a couple of corner cases in NameMatches 2017-02-20 11:35:33 +00:00
StatusTest.cpp Add Status -- llvm::Error glue 2017-05-18 12:46:50 +00:00
StringExtractorTest.cpp unittests: Specify types in a bunch of unittest EXPECT's 2016-10-17 18:22:03 +00:00
TaskPoolTest.cpp Add TaskMap for iterating a function over a set of integers 2017-05-05 11:16:59 +00:00
TildeExpressionResolverTest.cpp Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
TimeoutTest.cpp Add a format_provider for the Timeout class 2017-02-10 11:49:33 +00:00
UriParserTest.cpp UriParser cleanup 2017-02-10 12:21:22 +00:00
VASprintfTest.cpp Fix VASprintfTest on darwin 2017-02-17 13:27:50 +00:00