qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] tests: add gcov target


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 2/2] tests: add gcov target
Date: Mon, 11 Jun 2012 06:56:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Il 10/06/2012 20:07, Blue Swirl ha scritto:
> > >  check-unit-y = tests/check-qdict$(EXESUF)
> > > +GCOV_FILES = $(SRC_PATH)/qdict.c
> >
> > Ouch, ugly.  Why is it needed?
> 
> Gcov needs to know both the source file and the object. Probably it
> can't get this information from the object or .gc{da,no} files.

Yes, I meant why in QEMU.  In the new buildsystem all .o files match the
original hierarchy in the source tree, so it should be possible to avoid
this and get it from substitutions on the names of the .gcda files.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]