https://issues.dlang.org/show_bug.cgi?id=19601

--- Comment #3 from hst...@quickfur.ath.cx ---
Ran into this today. Taken together with the other -profile=gc issues, this
makes -profile=gc extremely misleading. It fails to detect GC allocations via
druntime APIs, *and* fails to update profilegc.txt when no allocations happened
on that run, leaving stale data in the file (or fails to create the file at
all, making users wonder whether -profile=gc even had any effect).

At the very least it should create an empty file per run.

--

Reply via email to