Skip to content

Support Rust v0 mangling #1626

@ChoKyuWon

Description

@ChoKyuWon

For now, utils/demangle.c only care about the Itanium C++ ABI mangling rules.
However, Rust introduces a new mangling rule, v0 mangling. (See the RFC and PR)

For example, std::mem::align_of::<f64> mangles to _RINvNtC3std3mem8align_ofdE.
Note that this new mangling scheme starts with a new identifier, _R.

We need support for this new mangling scheme.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions