Re: [gcc-10-branch] libiberty: Support the new ("v0") mangling scheme in rust-demangle

Amanieu d'Antras via Gdb-patches
2021-01-13T01:50:40Z

> Also, is there a way to test that this works correctly? I'd imagine
> there just has to be a flag day sometime and then we find out? Or has
> someone built Rust and tried it with GDB trunk?

rustc can already generate v0 symbols with the
-Zsymbol-mangling-version=v0 flag. We're just going to eventually be
switching this on by default.

I just tested a small program built with that flag and gdb trunk can
successfully demangle the symbols while gdb 10 can't.