Fix symbol demangling on Windows.#19819
Merged
bors merged 2 commits intorust-lang:masterfrom Dec 18, 2014
Merged
Conversation
…ept "ZN...E" form too. Also, print PC displacement from symbols.
bors
added a commit
that referenced
this pull request
Dec 14, 2014
Fix symbol demangling on Windows. Reviewed-by: alexcrichton
Contributor
|
Failed in rollup on not-windows http://buildbot.rust-lang.org/builders/try-linux/builds/238/steps/test/logs/stdio |
Contributor
Author
|
re-r? |
bors
added a commit
that referenced
this pull request
Dec 18, 2014
Windows dbghelp strips leading underscores from symbols, and I could not find a way to turn this off. So let's accept "ZN...E" form too. Also, print PC displacement from symbols. This is helpful in gauging whether the PC was indeed within the function displayed in the backtrace, or whether it just happened to be the closest public symbol in the module.
lnicola
pushed a commit
to lnicola/rust
that referenced
this pull request
May 28, 2025
Change import prefix default to be by crate
lnicola
pushed a commit
to lnicola/rust
that referenced
this pull request
May 28, 2025
Change import prefix default to be by crate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows dbghelp strips leading underscores from symbols, and I could not find a way to turn this off. So let's accept "ZN...E" form too.
Also, print PC displacement from symbols. This is helpful in gauging whether the PC was indeed within the function displayed in the backtrace, or whether it just happened to be the closest public symbol in the module.