Skip to content

Conversation

@lhames
Copy link
Contributor

@lhames lhames commented Aug 22, 2025

Adds support for the Error class, Expected class template, and related APIs that will be used for error propagation and handling in the new ORC runtime.

The implementations of these types are cut-down versions of similar APIs in llvm/Support/Error.h. Most advice on llvm::Error and llvm::Expected (e.g. from the LLVM Programmer's manual) applies equally to orc_rt::Error and orc_rt::Expected.

Ported from the old ORC runtime at compiler-rt/lib/orc.

Adds support for the Error class, Expected class template, and related APIs
that will be used for error propagation and handling in the new ORC runtime.

The implementations of these types are cut-down versions of similar APIs in
llvm/Support/Error.h. Most advice on llvm::Error and llvm::Expected (e.g. from
the LLVM Programmer's manual) applies equally to orc_rt::Error and
orc_rt::Expected.

Ported from the old ORC runtime at compiler-rt/lib/orc.
@lhames lhames merged commit 3ce25ab into llvm:main Aug 22, 2025
10 checks passed
@lhames lhames deleted the orc-rt-add-error branch August 22, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant