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

Avoid an assertion failure in alias.asm #2738

Merged
merged 3 commits into from
May 25, 2022

Conversation

barcharcraz
Copy link
Member

Turns out the thing about requiring <> around the parameters of the ALIAS directive was for real. If they are actually needed, I think it's impossible to use macros to generate that directive, so I have removed the macros and duplicated the directives.

This actually makes the file somewhat simpler and easier to read, I think it was overly clever and compressed before.

@barcharcraz barcharcraz requested a review from a team as a code owner May 24, 2022 21:57
@CaseyCarter CaseyCarter added the bug Something isn't working label May 24, 2022
@StephanTLavavej
Copy link
Member

@barcharcraz @CaseyCarter Thanks! 😻 I pushed a trivial comment change (to restore a grammar fix that I had applied to the original PR before merging). I also verified all of the mangled names for x86 and x64. Mirroring now...

@StephanTLavavej StephanTLavavej self-assigned this May 24, 2022
@StephanTLavavej
Copy link
Member

@barcharcraz discovered that demacroizing wasn't sufficient to avoid the internal assertion, but that splitting up this asm file, so that there's one file per function, works. I have pushed changes to do this.

@StephanTLavavej StephanTLavavej merged commit 60decd0 into microsoft:main May 25, 2022
@StephanTLavavej
Copy link
Member

Thanks for fixing this (again)! 😹 😹 🐱 🐱

fsb4000 pushed a commit to fsb4000/STL that referenced this pull request Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants