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

--- Comment #4 from hst...@quickfur.ath.cx ---
Relevant code: druntime/src/rt/profilegc.d

The simplest fix I can think of is for the compiler to emit a call to some
druntime function that sets a flag indicating we need to create this file (so
that this doesn't trigger when *not* compiling with -profile=gc), then change
the if-condition in profilegc.~this to check this flag instead of
counts.length.

--

Reply via email to