[M3devel] cm3cg coverage/profiling features?
Jay K
jay.krell at cornell.edu
Thu Aug 13 10:50:57 CEST 2015
Note that this probably isn't the coverage/profiling I was talking about.I was talking about specifically in the gcc backend.
I wonder if coverage -- a boolean per basic block; or maybe a counter,is cheap enough that we can't have it always enabled.
And then some way of exposing it.
I don't like having to recompile/relink everything multiple differentways to get all the features.
- Jay
From: peter.mckinna at gmail.com
Date: Thu, 13 Aug 2015 11:00:22 +1000
Subject: Re: [M3devel] cm3cg coverage/profiling features?
To: lists at darko.org
CC: hosking at purdue.edu; m3devel at elegosoft.com; jay.krell at cornell.edu
Hi, Thought I better upload my coverage fixes I've had sitting around for awhile. So they are in git if anyone cares to (ab)use them. I modified report_coverage to use signals as I couldnt get the old code to work. I'm not sure it will work on all platforms or indeed on 32 bit machines so if anyone with more expertise wants to fix it please do.Just to refresh the usage if you want coverage analysis compile with -Z then when you run your program you get a default coverage.out file which you run analyze_coverage -L for line number coverage (or -P for procedure coverage) see the analyze_coverage.h file for options . Should probably rewrite this stuff in m3.
Regards Peter
On Thu, Aug 13, 2015 at 10:29 AM, Darko Volaric <lists at darko.org> wrote:
It's the one from the Releases section on GitHub.
On Wed, Aug 12, 2015 at 5:27 PM, Darko Volaric <lists at darko.org> wrote:
I'm using:
Critical Mass Modula-3 version d5.9.0
last updated: 2010-07-21
compiled: 2014-08-27 19:15:04
configuration: /usr/local/cm3/bin/cm3.cfg
host: AMD64_DARWIN
target: AMD64_DARWIN
On Wed, Aug 12, 2015 at 5:23 PM, Antony Hosking <hosking at purdue.edu> wrote:
I wasn’t aware this had changed.When was this regression introduced?
On Aug 13, 2015, at 2:11 AM, Darko Volaric <lists at darko.org> wrote:
For instance, cm3 used to keep on compiling files after errors were found. Now it seems to stop after one module. That loss of functionality seriously reduces productivity. I couldn't find any switch to reverse the change. When was this change decided? Is there a way to restore it?
_______________________________________________
M3devel mailing list
M3devel at elegosoft.com
https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20150813/ba235c7e/attachment-0002.html>
More information about the M3devel
mailing list