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

Support mangling *const ptr and slices like *const [T] #1097

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

philberty
Copy link
Member

The legacy mangling scheme needs to convert the canonical path containing

  • for pointers and the [] brackets representing slices into:

    • = $BP$
      [ = $u5b$
      ] = $u5d$

These symbols are not allowed in asm symbols.

Addresses #849

The legacy mangling scheme needs to convert the canonical path containing
* for pointers and the [] brackets representing slices into:

  * = $BP$
  [ = $u5b$
  ] = $u5d$

These symbols are not allowed in asm symbols.

Addresses #849
@philberty philberty added the bug label Apr 9, 2022
@philberty philberty added this to the Imports and visibility milestone Apr 9, 2022
@philberty philberty requested a review from CohenArthur April 9, 2022 20:55
@philberty philberty mentioned this pull request Apr 9, 2022
18 tasks
@philberty
Copy link
Member Author

bors r+

@bors bors bot merged commit 2669e80 into master Apr 11, 2022
@bors
Copy link
Contributor

bors bot commented Apr 11, 2022

Build succeeded:

@philberty philberty deleted the phil/mangling-fixes branch April 11, 2022 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants