Skip to content
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

Print allocations on --builddir #109

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

elliotgoodrich
Copy link
Owner

@elliotgoodrich elliotgoodrich commented Nov 5, 2024

Standardize how we exit main through the leave function so that we
can make sure to print out our memory stats on every path. To make sure
we call leave we can decorate main as [[noreturn]].

@elliotgoodrich elliotgoodrich force-pushed the print-allocations-on-builddir branch 2 times, most recently from bc2eaf5 to ee453a2 Compare November 5, 2024 06:46
Standardize how we exit `main` through the `leave` function so that we
can make sure to print out our memory stats on every path.  To make sure
we call `leave` we can decorate `main` as `[[noreturn]]`.
@elliotgoodrich elliotgoodrich force-pushed the print-allocations-on-builddir branch from ee453a2 to b249dce Compare November 5, 2024 06:47
@elliotgoodrich elliotgoodrich marked this pull request as ready for review November 5, 2024 07:14
@elliotgoodrich elliotgoodrich merged commit 89fc47e into main Nov 5, 2024
8 checks passed
@elliotgoodrich elliotgoodrich deleted the print-allocations-on-builddir branch November 5, 2024 07:14
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