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

Improved Symbol Demangling #5144

Merged
merged 3 commits into from
Dec 28, 2024
Merged

Conversation

NicksWorld
Copy link
Contributor

This set of changes adds support for symbol demangling via cxx_demangle on Windows and uses the improved symbol demangling in reading classnames from RTTI entries on all current targets.

Known problems:

  • Wine environments fail on some advanced STL features.

When running a modified devel/scan-vtables for Windows under wine, a number of symbols fail demangling, all of which can be filtered out by excluding those belonging to std/Concurency. This can be automatically performed by checking if the end of the mangled name is std@@ or Concurrency@@.

I have not discovered any further issues, but practical testing is likely a requirement.

Thank you to @ab9rf and @lethosor for their help with understanding particular issues that arose.

library/Process-linux.cpp Show resolved Hide resolved
library/Process-linux.cpp Show resolved Hide resolved
@myk002 myk002 merged commit 9f3b117 into DFHack:develop Dec 28, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants