Skip to content

We're computing mangle_internal_symbol a lot #4234

Closed
@RalfJung

Description

@RalfJung
Member

Each time a shim is called, we're calling mangle_internal_symbol a half-dozen times to check if that is one of the allocator shims. We should memoize those mangled symbols somewhere.

This was introduced in rust-lang/rust#127173. Cc @bjorn3

Activity

changed the title [-]W're computing `mangle_internal_symbol` a lot[/-] [+]We're computing `mangle_internal_symbol` a lot[/+] on Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @RalfJung

      Issue actions

        We're computing `mangle_internal_symbol` a lot · Issue #4234 · rust-lang/miri