Thread overview
gchunt v0.2.0
Apr 05, 2016
Dmitry Olshansky
Apr 05, 2016
Pradeep Gowda
Apr 05, 2016
jmh530
Apr 06, 2016
sigod
Apr 06, 2016
Sönke Ludwig
April 05, 2016
New release of a tool that generates nice summary reports for static analysis of GC usage. It's a simple postprocessor for the compiler's -vgc output.

https://github.com/DmitryOlshansky/gchunt/releases

Updated to the latest compiler/libarires and also detects dup/idup unreported by -vgc switch.

-- 
Dmitry Olshansky
April 05, 2016
On Tuesday, 5 April 2016 at 18:47:38 UTC, Dmitry Olshansky wrote:
> New release of a tool that generates nice summary reports for static analysis of GC usage. It's a simple postprocessor for the compiler's -vgc output.
>
> https://github.com/DmitryOlshansky/gchunt/releases
>
> Updated to the latest compiler/libarires and also detects dup/idup unreported by -vgc switch.

This is somewhat tangentially  related  to the announcement.. but how does one run "-vgc" switch with "dub"?

Running dmd -vgc with a project with dependencies (eg: docopt) failed because dmd could not find the dependencies.


April 05, 2016
On Tuesday, 5 April 2016 at 19:15:04 UTC, Pradeep Gowda wrote:
>
> This is somewhat tangentially  related  to the announcement.. but how does one run "-vgc" switch with "dub"?
>
> Running dmd -vgc with a project with dependencies (eg: docopt) failed because dmd could not find the dependencies.

Try:
"dflags-dmd": ["-vgc"],

You could also make a separate configuration with this line in it so that you don't have to constantly be adding and removing it.
April 06, 2016
Am 05.04.2016 um 21:15 schrieb Pradeep Gowda:
> On Tuesday, 5 April 2016 at 18:47:38 UTC, Dmitry Olshansky wrote:
>> New release of a tool that generates nice summary reports for static
>> analysis of GC usage. It's a simple postprocessor for the compiler's
>> -vgc output.
>>
>> https://github.com/DmitryOlshansky/gchunt/releases
>>
>> Updated to the latest compiler/libarires and also detects dup/idup
>> unreported by -vgc switch.
>
> This is somewhat tangentially  related  to the announcement.. but how
> does one run "-vgc" switch with "dub"?
>
> Running dmd -vgc with a project with dependencies (eg: docopt) failed
> because dmd could not find the dependencies.
>
>

Easiest way is to set the DFLAGS environment variable
(e.g. on Posix systems: DFLAGS="-g -vgc" dub run).
April 06, 2016
On Tuesday, 5 April 2016 at 19:43:08 UTC, jmh530 wrote:
> On Tuesday, 5 April 2016 at 19:15:04 UTC, Pradeep Gowda wrote:
>>
>> This is somewhat tangentially  related  to the announcement.. but how does one run "-vgc" switch with "dub"?
>>
>> Running dmd -vgc with a project with dependencies (eg: docopt) failed because dmd could not find the dependencies.
>
> Try:
> "dflags-dmd": ["-vgc"],
>
> You could also make a separate configuration with this line in it so that you don't have to constantly be adding and removing it.

Or `dflags "-vgc" platform="dmd"` in SDL.