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

Legacy name mangling does not encode unicode characters #2545

Closed
tamaroning opened this issue Aug 11, 2023 · 0 comments · Fixed by #2547
Closed

Legacy name mangling does not encode unicode characters #2545

tamaroning opened this issue Aug 11, 2023 · 0 comments · Fixed by #2547

Comments

@tamaroning
Copy link
Contributor

tamaroning commented Aug 11, 2023

input:

pub fn _ユニコード(n: i32) -> i32 {
    n * n
}

actual output:

_ZN7example19_ユニコートド17heef10916c8edd029E:
        push    rbp
        ...

expected:
All non-ASCII characters are encoded as $uXXXX$:

_ZN7example36_$u30e6$$u30cb$$u30b3$$u30fc$$u30c9$17h5c5d0f1fe996ee67E:
        push    rbp
        ...
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 a pull request may close this issue.

1 participant