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

read/cfi: limit the stack depth in UnwindContext #687

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

philipc
Copy link
Collaborator

@philipc philipc commented Nov 22, 2023

This is a better default. Users can switch back to Vec if they need it.

r? @nbdd0121

Closes #683

This is a better default. Users can switch back to Vec
if they need it.
@philipc philipc merged commit 4c97bb5 into gimli-rs:master Nov 24, 2023
20 checks passed
@philipc philipc deleted the issue-683 branch November 24, 2023 04:48
mstange added a commit to mstange/gimli that referenced this pull request Mar 11, 2024
PR gimli-rs#687 switched `StoreOnHeap` to use a `Box` with a fixed-size array.
This means that, by default, `UnwindContext` will not allocate during
unwind, so the primary motivation for providing a custom `UnwindContextStorage`
has changed.
mstange added a commit to mstange/gimli that referenced this pull request Mar 11, 2024
PR gimli-rs#687 switched `StoreOnHeap` to use a `Box` with a fixed-size array.
This means that, by default, `UnwindContext` will not allocate during
unwind, so the primary motivation for providing a custom `UnwindContextStorage`
has changed.
This commit tweaks the docs a little to better match the current state.
philipc pushed a commit that referenced this pull request Mar 12, 2024
PR #687 switched `StoreOnHeap` to use a `Box` with a fixed-size array.
This means that, by default, `UnwindContext` will not allocate during
unwind, so the primary motivation for providing a custom `UnwindContextStorage`
has changed.
This commit tweaks the docs a little to better match the current state.
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.

The storage in UnwindContext.stack was changed to a Vec
1 participant