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

Name Mangling #30

Open
iwillspeak opened this issue May 11, 2019 · 1 comment
Open

Name Mangling #30

iwillspeak opened this issue May 11, 2019 · 1 comment
Labels
Projects

Comments

@iwillspeak
Copy link
Owner

iwillspeak commented May 11, 2019

We need to come up with some way of mangling the names of functions to
support modules. Would probably make sense to use the Itanium ABI like
everyone else. Can't find a crate which provides mangling for it
though, just demangling.

This should fix: #25

@iwillspeak
Copy link
Owner Author

Thinking we want a simple scheme for mangled names based on the Itanium ABI:

Seen as we don't have overloading and no templates/generics we can get away with just encoding the path. The suggested encoding is therefore the itanium-encoded path, with a _U prefix. e.g.:

foo::then::bar => _U3foo4then3barE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Ullage 0.2
  
Awaiting triage
Development

No branches or pull requests

1 participant