[valgrind] [Bug 431306] Update demangler to support Rust v0 name mangling.

2021-09-22 Thread Amanieu d'Antras
https://bugs.kde.org/show_bug.cgi?id=431306

--- Comment #9 from Amanieu d'Antras  ---
I'm not sure why we're not using that in the first place. It might be safer to
just add DMGL_RUST.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 431306] Update demangler to support Rust v0 name mangling.

2021-09-22 Thread Amanieu d'Antras
https://bugs.kde.org/show_bug.cgi?id=431306

--- Comment #7 from Amanieu d'Antras  ---
> So I assume cplus_demangle now directly demangles old and new style rust 
> symbols?

Yes, cplus_demangle will automatically handle old and new style rust symbols.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 431306] Update demangler to support Rust v0 name mangling.

2021-04-26 Thread Amanieu d'Antras
https://bugs.kde.org/show_bug.cgi?id=431306

--- Comment #2 from Amanieu d'Antras  ---
The only changes I made myself were:
- Updating the update-demangler script
- Updating memcheck/tests/long_namespace_xml.stderr.exp

Everything else (including the Rust demangling support) comes from running the
script.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 431306] New: Update demangler to support Rust v0 name mangling.

2021-01-08 Thread Amanieu d'Antras
https://bugs.kde.org/show_bug.cgi?id=431306

Bug ID: 431306
   Summary: Update demangler to support Rust v0 name mangling.
   Product: valgrind
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: jsew...@acm.org
  Reporter: aman...@gmail.com
  Target Milestone: ---

Created attachment 134658
  --> https://bugs.kde.org/attachment.cgi?id=134658=edit
Update demangler to GCC git 01d92cfd79872e4cffc78bf233bb9b767336beb8

Rust is moving to a new name mangling scheme:
https://github.com/rust-lang/rust/issues/60705. The libiberty demangler in GCC
has already been updated to support the new scheme so just update the copy in
Valgrind to match.

The update-demangler script has also been updated to use git instead of svn for
GCC.

There is a slight regression in that very long symbol names (> 512 bytes)
aren't demangled any more, but I don't feel that this is a big issue since all
other tools (binutils, c++filt, anything using libiberty) also suffers from
this issue.

-- 
You are receiving this mail because:
You are watching all bug changes.