Profile-directed feedback and remote testing

Nathan Sidwell nathan@codesourcery.com
Tue Mar 29 11:47:00 GMT 2005


Joe Buck wrote:

> That wouldn't have saved me in the case described above, as the pathnames
> are already set in the executable.  A *runtime* way of altering the
> locations of the .gcda files would be nice to have.  For example, we could
> have something like
> 
> GCDA_PATH_PREFIX
> 
> which, if set, would be prepended to the pathnames of the .gcda files.
> We could even arrange to create needed directories on demand when
> creating new .gcda files when this option is set.

I've had contact with a user who had exactly this (and other) issues, and had
worked up some pre 3.4 patches.  He was going to work out something along
Joe's suggestion for the current sources.

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc mailing list