-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--[BE Week]Modify ESP_CHECK to exit not abort. #2143
Open
jturner65
wants to merge
1
commit into
main
Choose a base branch
from
BE_EspCheckRework
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
07a405e
to
1b998f7
Compare
Skylion007
approved these changes
Jul 7, 2023
1b998f7
to
c1f24c1
Compare
d4a44be
to
5892a01
Compare
5892a01
to
91bedc7
Compare
91bedc7
to
7dfabe1
Compare
e8deb90
to
a5c2fb0
Compare
83e06d3
to
3c6be66
Compare
3c6be66
to
9b8b14f
Compare
3a2fe6c
to
5016d85
Compare
94ac25a
to
9f83102
Compare
162c2aa
to
09435f6
Compare
1d05c99
to
da65296
Compare
a6d16aa
to
4db7335
Compare
38f3b51
to
1a3bce4
Compare
1a3bce4
to
3f18c63
Compare
3073266
to
6e98d6f
Compare
edfd813
to
257a5bc
Compare
c580f32
to
0e21e20
Compare
32f95fd
to
383eec7
Compare
383eec7
to
c3ac755
Compare
1c85ec0
to
ea1e587
Compare
ecec275
to
e01682b
Compare
966fb98
to
c33b16b
Compare
c33b16b
to
78ab749
Compare
78ab749
to
a5e0c12
Compare
a5e0c12
to
b3d40e0
Compare
048da24
to
7e7439e
Compare
7e7439e
to
65becd5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Currently our ESP_CHECK macro was exiting the program via std::abort(), providing a core dump. However, it is most often used to verify data or check the results of file IO, for which a core dump is undesirable. This PR changes ESP_CHECK to std::exit(1) instead, avoiding the core dump.
An alternative mechanism that provides the assertion-like behavior with the std::abort/core dump functionality while also communicating with python properly is being investigated for a future PR.
How Has This Been Tested
All current c++ and python tests pass.
Types of changes
Checklist