diff options
author | Pavel Labath <labath@google.com> | 2017-05-18 12:46:50 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-05-18 12:46:50 +0000 |
commit | a24a3a30d00a43a5aa7e6cdf7b7046438735347c (patch) | |
tree | e089d3677f01492d54cd33c6c70ac632918e4753 /llvm/lib/Transforms/Scalar/JumpThreading.cpp | |
parent | ebfdaf7394da63cc14ad6f13ef981bdaf4459db6 (diff) | |
download | bcm5719-llvm-a24a3a30d00a43a5aa7e6cdf7b7046438735347c.tar.gz bcm5719-llvm-a24a3a30d00a43a5aa7e6cdf7b7046438735347c.zip |
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
Diffstat (limited to 'llvm/lib/Transforms/Scalar/JumpThreading.cpp')
0 files changed, 0 insertions, 0 deletions