On 09.06.2016 11:02, Johan Engelen wrote:
On Thursday, 9 June 2016 at 04:58:45 UTC, Stefan Koch wrote:
On Wednesday, 8 June 2016 at 13:28:19 UTC, Stefan Koch wrote:
Hi, I solved the issue.
PR is coming shortly.

Solution is as follows:

Keep a list of already visited symbols in the mangler.
And information where we store the mangle.
meaning the position in the mangle string.
If a symbol is encountered for the second time store a backrefernce
rather then the symbol name again.

You mean this?
https://github.com/weka-io/ldc/commit/ffd6b55a4b83b3007d9690cbd9a25d07b243a00e


This doesn't handle the manglers created locally for templates and parameter tuples. Here's a more complete version: https://github.com/dlang/dmd/pull/5855

Reply via email to