Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Issue 1297843003: Support code coverage. (Closed)

Created:
5 years, 4 months ago by Michael Achenbach
Modified:
5 years ago
Reviewers:
Camillo Bruni
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Support code coverage. COMMIT=false

Patch Set 1 #

Patch Set 2 : Make clang dependent (not sure if it works) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M build/standalone.gypi View 1 4 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Michael Achenbach
If you want to land a CL like this, please go ahead. This was not ...
5 years, 4 months ago (2015-08-17 07:37:08 UTC) #4
Michael Achenbach
On 2015/08/17 07:37:08, Michael Achenbach (OOO) wrote: > If you want to land a CL ...
5 years, 4 months ago (2015-08-17 07:45:28 UTC) #5
Michael Achenbach
On 2015/08/17 07:37:08, Michael Achenbach (OOO) wrote: > If you want to land a CL ...
5 years, 4 months ago (2015-08-17 07:45:29 UTC) #6
Camillo Bruni
5 years, 4 months ago (2015-08-17 08:04:46 UTC) #7
On 2015/08/17 07:45:29, Michael Achenbach (OOO) wrote:
> On 2015/08/17 07:37:08, Michael Achenbach (OOO) wrote:
> > If you want to land a CL like this, please go ahead. This was not ready yet.
> I'd
> > wanna add the following things:
> > - Make coverage=1 imply clang=0
> > - Properly unset any -O1/2/3 cflags - I think right now we end up with two
> flags
> > set, e.g. "-O3 -O0", which is a bit messy
> > - Figure out if we need to unset any other optimization options
> > - Make sure that the host_clang option is not in the way
> > 
> > If nobody else picks it up, I'll work on it when I'm back from my leave...
> 
> Probably coverage=1 should also imply host_clang=0. Otherwise the host d8
would
> be compiled with clang and we'd have no code coverage for the snapshot
> generation...

I'm aware that this is not ready yet in a clean way :) (and I know too little
about the build system for now). Maybe we can land this for now so people can
try it locally, and then later get the real change in probably with a separate
.coverage target etc. for the bots.

Powered by Google App Engine
This is Rietveld 408576698