Go to file
Mark Wielaard d3b2ead595 libiberty rust-demangle, ignore .suffix
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 follow what C++ does and
represent these as [clone .suffix] tagged onto the demangled name.
But this seems somewhat confusing since it results in a demangled
name that cannot be mangled again. And it would mean trying to
decode compiler internal naming.

https://bugs.kde.org/show_bug.cgi?id=445916
https://github.com/rust-lang/rust/issues/60705

libiberty/Changelog

	* rust-demangle.c (rust_demangle_callback): Ignore everything
	after '.' char in sym for v0. For legacy symbols search
	backwards to find the last 'E' before any '.'.
	* testsuite/rust-demangle-expected: Add new .suffix testcases.
2022-02-17 18:06:24 +01:00
c++tools
config
contrib Daily bump. 2022-02-01 00:16:29 +00:00
fixincludes Daily bump. 2022-02-05 00:16:31 +00:00
gcc [PR104447] LRA: Do not split non-alloc hard regs. 2022-02-17 11:33:33 -05:00
gnattools
gotools Daily bump. 2022-02-14 00:16:23 +00:00
include
INSTALL
intl
libada
libatomic Daily bump. 2022-02-04 00:16:24 +00:00
libbacktrace libbacktrace: gather address ranges from skeleton units 2022-02-16 20:21:48 -08:00
libcc1
libcody
libcpp Daily bump. 2022-02-12 00:16:23 +00:00
libdecnumber
libffi
libgcc
libgfortran
libgo libgo: restore building on Solaris 2022-02-16 12:20:10 -08:00
libgomp Daily bump. 2022-02-16 00:16:26 +00:00
libiberty libiberty rust-demangle, ignore .suffix 2022-02-17 18:06:24 +01:00
libitm Daily bump. 2022-02-04 00:16:24 +00:00
libobjc
liboffloadmic
libphobos Daily bump. 2022-02-17 00:16:36 +00:00
libquadmath
libsanitizer Daily bump. 2022-02-16 00:16:26 +00:00
libssp
libstdc++-v3 Daily bump. 2022-02-16 00:16:26 +00:00
libvtv
lto-plugin
maintainer-scripts
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2022-02-09 00:16:24 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: Remove Hartmut Penner as s390 maintainer 2022-02-08 09:23:14 +01:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.