Skip to content

Conversation

@aaupov
Copy link
Contributor

@aaupov aaupov commented Feb 12, 2024

As part of the effort to refactor old error handling code that
would directly call exit(1), in this patch continue the migration
on libCore, libRewrite and libPasses to use the new BOLTError
class whenever a failure occurs.

Test Plan: NFC

Co-authored-by: Rafael Auler rafaelauler@fb.com

Created using spr 1.3.4
@aaupov aaupov marked this pull request as draft February 12, 2024 20:14
Created using spr 1.3.4
@aaupov aaupov changed the title [BOLT] Propagate BOLTErrors from Core, RewriteInstance, and passes (2/n) [BOLT] Propagate BOLTErrors from Core, RewriteInstance, and passes (2/2) Feb 12, 2024
@aaupov aaupov marked this pull request as ready for review February 12, 2024 21:01
Copy link
Contributor

@rafaelauler rafaelauler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, as commit message:

As part of the effort to refactor old error handling code that
would directly call exit(1), in this patch continue the migration
on libCore, libRewrite and libPasses to use the new BOLTError
class whenever a failure occurs.

Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
@aaupov aaupov changed the base branch from users/aaupov/spr/main.bolt-propagate-bolterrors-from-core-rewriteinstance-and-passes-2n to main February 12, 2024 22:40
@aaupov aaupov changed the title [BOLT] Propagate BOLTErrors from Core, RewriteInstance, and passes (2/2) [BOLT][NFC] Propagate BOLTErrors from Core, RewriteInstance, and passes (2/2) Feb 12, 2024
@aaupov aaupov merged commit 13d60ce into main Feb 12, 2024
@aaupov aaupov deleted the users/aaupov/spr/bolt-propagate-bolterrors-from-core-rewriteinstance-and-passes-2n branch February 12, 2024 22:51
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.

3 participants