www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - gchunt v0.2.0

reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
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
Apr 05 2016
parent reply Pradeep Gowda <pradeep btbytes.com> writes:
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.
Apr 05 2016
next sibling parent reply jmh530 <john.michael.hall gmail.com> writes:
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.
Apr 05 2016
parent sigod <sigod.mail gmail.com> writes:
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.
Apr 06 2016
prev sibling parent =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig rejectedsoftware.com> writes:
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).
Apr 06 2016