On 11/10/2012 11:26 PM, David Held wrote:
While writing some unit tests for Dsymbol, I noticed that Dsymbol::toPrettyChars() leaks almost everywhere.

It actually isn't a bug.

dmd does not bother to keep track of memory for the purpose of freeing it. It behaves as if there's a garbage collector.

There is a garbage collector for dmd, but it is left out of the build because it slows the compiler down more than it helps.

Excessive memory consumption has turned out to be a problem for the CTFE implementation, however.
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to