https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102618
Bug ID: 102618
Summary: d-demangle: anonymous symbols are not being properly
skipped
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: demangler
Assignee: unassigned at gcc dot gnu.org
Reporter: contact at lsferreira dot net
Target Milestone: ---
According to the D ABI specification, symbol names can contain an arbitrary
number of anonymous symbols. Currently, libiberty can't demangle the following
properly:
_D8demangle9anonymous03fooZ
demangle.anonymous.foo
On the other hand, the official demangler can successfully demangle it as a D
symbol.