Skip to content

Leak dbghelp.dll like CoreSymbolication on OSX #198

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

Merged
merged 1 commit into from
Jun 3, 2019
Merged

Conversation

alexcrichton
Copy link
Member

This commit updates the MSVC code to leak dbghelp.dll on Windows after
we initially load it. This allows for cheaper reuse between invocations
and avoids each backtrace call having to load/unload an entire DLL.
While not profiled just yet given #197 we're going to have to preserve
something across calls in and out of this library, so this is going to
be a first required step in any case to doing so.

This commit updates the MSVC code to leak `dbghelp.dll` on Windows after
we initially load it. This allows for cheaper reuse between invocations
and avoids each backtrace call having to load/unload an entire DLL.
While not profiled just yet given #197 we're going to have to preserve
*something* across calls in and out of this library, so this is going to
be a first required step in any case to doing so.
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