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

debuginfo: Make sure that type names for closure and generator environments are unique in debuginfo. #93154

Commits on Feb 1, 2022

  1. debuginfo: Make sure that type names for closure and generator enviro…

    …nments are unique in debuginfo.
    
    Before this change, closure/generator environments coming from different
    instantiations of the same generic function were all assigned the same
    name even though they were distinct types with potentially different data
    layout. Now we append the generic arguments of the originating function
    to the type name.
    
    This commit also emits '{closure_env#0}' as the name of these types in
    order to disambiguate them from the accompanying closure function
    '{closure#0}'. Previously both were assigned the same name.
    michaelwoerister committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    fd7557b View commit details
    Browse the repository at this point in the history