https://github.com/rafaelauler approved this pull request.

Thanks, as commit message we can put something like:

As part of the effort to refactor old error handling code that
would directly call exit(1), in this patch we add a new class
BOLTError and auxiliary functions createFatalBOLTError() and
createNonFatalBOLTError() that allow BOLT code to bubble up the
problem to the caller by using the Error class as a return
type (or Expected). Also change passes to use these.

https://github.com/llvm/llvm-project/pull/81522
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to