Re: [PATCHv3] libiberty rust-demangle, ignore .suffix

2022-02-17 Thread Ian Lance Taylor via Gcc-patches
On Thu, Feb 17, 2022 at 2:45 AM Mark Wielaard wrote: > > Ping. Is this OK to commit now? > I am not sure who can approve this. > > On Sun, Jan 16, 2022 at 01:35:34AM +0100, Mark Wielaard wrote: > > Rust symbols can have a .suffix because of compiler transformations. > > These can be ignored in

Re: [PATCHv3] libiberty rust-demangle, ignore .suffix

2022-02-17 Thread Mark Wielaard
Ping. Is this OK to commit now? I am not sure who can approve this. On Sun, Jan 16, 2022 at 01:35:34AM +0100, Mark Wielaard wrote: > Rust symbols can have a .suffix because of compiler transformations. > These can be ignored in the demangled name. Which is what this patch > implements. By

[PATCHv3] libiberty rust-demangle, ignore .suffix

2022-01-15 Thread Mark Wielaard
Rust symbols can have a .suffix because of compiler transformations. These can be ignored in the demangled name. Which is what this patch implements. By stopping at the first dot for v0 symbols and searching backwards to the ending 'E' for legacy symbols. An alternative implementation could be to