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.
For now,
utils/demangle.conly 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.