diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-08-29 20:26:06 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-08-30 01:14:18 +0200 |
commit | 392e141079a198c93b19bfcd1fe2bd5df456c999 (patch) | |
tree | 7a7790433e9748898047357b4ea5c74fbf680e2a /libiberty/getopt1.c | |
parent | 34f3e0657a1fa976d989b22d18b3b2adf6ddd59b (diff) | |
download | gcc-392e141079a198c93b19bfcd1fe2bd5df456c999.zip gcc-392e141079a198c93b19bfcd1fe2bd5df456c999.tar.gz gcc-392e141079a198c93b19bfcd1fe2bd5df456c999.tar.bz2 |
libiberty: Add support for demangling local D template declarations
The D language now allows multiple different template declarations in
the same function that have the same mangled name. To make the mangled
names unique, a fake parent in the form `__Sddd' is added to the symbol.
This information is not important for the user, so the demangler now
handles and ignores it.
libiberty/ChangeLog:
* d-demangle.c (dlang_identifier): Skip over fake parent manglings.
* testsuite/d-demangle-expected: Add tests.
Diffstat (limited to 'libiberty/getopt1.c')
0 files changed, 0 insertions, 0 deletions