On 10/5/2021 11:53 AM, Luís Ferreira wrote:
On Tue, 2021-10-05 at 18:13 +0100, Luís Ferreira wrote:
This patch fixes a bug on the D demangler by parsing and skip anonymous
symbols
correctly, according the ABI specification. Furthermore, it also
includes tests
to cover anonymous symbols.
The spec specifies [1] that a symbol name can be anonymous and multiple
anonymous symbols are allowed.
[1]: https://dlang.org/spec/abi.html#SymbolName
ChangeLog:
libiberty/
* d-demangle.c (dlang_parse_qualified): Handle anonymous
symbols
correctly.
* testsuite/d-demangle-expected: New tests to cover anonymous
symbols.
Thanks. I fixed a whitespace nit and installed this patch.
Jeff