On 04/15/2017 09:20 AM, Iain Buclaw wrote:
This implements a previously an undocumented part of the D ABI spec,
where symbols instantiated inside a template constraint are given a
different prefix. In practise however this should never be
encountered, as such instantiations are normally considered
speculative, and so never make it to object code.
---
02-d-demangle-template-constraints.patch
commit 9f3fa1f5842dc317b0aaf2f9aa159548c9b7a7f7
Author: Iain Buclaw<ibuc...@gdcproject.org>
Date: Sat Apr 15 11:29:35 2017 +0200
libiberty/ChangeLog:
2017-04-15 Iain Buclaw<ibuc...@gdcproject.org>
* d-demangle.c (dlang_identifier): Handle template constraint symbols.
(dlang_parse_template): Only advance if template symbol prefix is
followed by a digit.
* testsuite/d-demangle-expected: Add tests.
OK for the trunk.
jeff