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

Disable absl symbolize in Windows Release build #21923

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Disable absl symbolize in Windows Release build #21923

merged 1 commit into from
Aug 30, 2024

Conversation

snnn
Copy link
Member

@snnn snnn commented Aug 29, 2024

Description

This change disables Abseil's symbolize functionality in Windows non-debug builds.

Motivation and Context

To solve #21826. Avoid having a dependency on dbghelp.dll.
As I said in another PR, VC++ team's std::stacktrace implementation is more elegant than Abseil's. C++20's std::stacktrace can dynamically detect if the DLL exists or not, so it doesn't have a hard dependency on it.

@snnn
Copy link
Member Author

snnn commented Aug 30, 2024

I examined the new binary. It no longer depends on dbghelp.dll.

@snnn snnn merged commit 1f879c3 into main Aug 30, 2024
155 checks passed
@snnn snnn deleted the snnn/disable_sym branch August 30, 2024 19:03
snnn added a commit that referenced this pull request Aug 30, 2024
### Description
This change disables Abseil's symbolize functionality in Windows
non-debug builds.
### Motivation and Context
To solve #21826. Avoid having a dependency on dbghelp.dll.
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.

2 participants