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

Add function's mangled name in the protobuf #35

Merged
merged 3 commits into from
May 28, 2024
Merged

Conversation

patacca
Copy link
Collaborator

@patacca patacca commented May 28, 2024

As of now quokka only exports the demangled name (or user assigned name) for functions but sometimes it could be useful to have the mangled name as well (working with symbols, function signatures, etc...).
This PR introduces the mangled name for functions. This won't break the backward compatibility of the protobuf even though it is modifying it.

To avoid duplicate names, the mangled name will be actually exported only if it differs from the demangled one.

@patacca patacca added the enhancement New feature or request label May 28, 2024
@patacca patacca requested a review from RobinDavid May 28, 2024 13:38
@RobinDavid RobinDavid merged commit 1291bc3 into main May 28, 2024
13 checks passed
@RobinDavid RobinDavid deleted the add_mangled_name branch May 28, 2024 20:20
@RobinDavid
Copy link
Collaborator

Sounds awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants