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

Load stack trace into user-provided storage #318

Open
drew-gross opened this issue Oct 20, 2023 · 1 comment
Open

Load stack trace into user-provided storage #318

drew-gross opened this issue Oct 20, 2023 · 1 comment

Comments

@drew-gross
Copy link

Current, backward loads a stack trace into a std::vector that is resized inside load_here.

I'm working on optimizing some of our code involving stack traces and I'd like to be able to eliminate this allocation, by providing pre-allocated memory of my own (most likely stack memory, but also potentially heap memory allocated from a pool). What do you think it would take to refactor the code to allow this? Any suggestions for how to go about it, or any potential pitfalls?

@bombela
Copy link
Owner

bombela commented Oct 20, 2023 via email

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

No branches or pull requests

2 participants