summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/Error.h
Commit message (Collapse)AuthorAgeFilesLines
* [ORC] Update ORC C bindings to use the new llvm::Error C API.Lang Hames2018-09-231-0/+2
| | | | | | | | | This replaces instances of the LLVMOrcErrorCode type with LLVMErrorRef, simplifying the implementation of the OrcCBindingsStack class and ORC C API bindings and making it possible to return arbitrary (wrapped) llvm::Errors. llvm-svn: 342828
* [Support] Add a basic C API for llvm::Error.Lang Hames2018-08-151-0/+65
Summary: The C-API supports consuming errors, converting an error to a string error message, and querying an error's type. Other LLVM C APIs that wish to use llvm::Error can supply error-type-id checkers and custom error-to-structured-type converters for any custom errors they provide. Reviewers: bogner, zturner, labath, dblaikie Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D50716 llvm-svn: 339802
OpenPOWER on IntegriCloud