[ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-07-21 Thread Chris AtLee
Hi, I recently did some work to get ccache to support gcc's various -fprofile-* options. In some local testing in works great. I've got the code up on github right now: https://github.com/catlee/ccache/compare/jrosdahl:master...catlee:profile Does this approach look like it will work? Cheers,

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-08 Thread Chris AtLee
On Mon, Aug 8, 2011 at 10:06 AM, Justin Lebar justin.le...@gmail.com wrote: On Mon, Aug 8, 2011 at 9:58 AM, Chris AtLee ch...@atlee.ca wrote: Any thoughts on if caching the .gcda files is useful? Maybe have another environment variable that switches it on? What do you mean?  These files

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-10 Thread Chris AtLee
On Mon, Aug 8, 2011 at 4:24 PM, Justin Lebar justin.le...@gmail.com wrote: The .gcda files themselves aren't cached, their contents are used to calculate the hash for a -fprofile-use run. So if the .o file doesn't exist, and you have the same .gcda file, you get a cache hit. Ah, I see.  What

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-15 Thread Chris AtLee
On Mon, Aug 15, 2011 at 7:49 AM, Jonathan Martens jonat...@snetram.nl wrote: This commit brakes compilation on windows with the following errror:    gcc -g -O2 -Wall -W  -o ccache.exe main.o ccache.o mdfour.o hash.o execute.o util.o args.o stats.o version.o cleanup.o snprintf.o unify.o

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2012-03-30 Thread Chris AtLee
, Chris AtLee wrote: My latest code on github should address all the comments so far: https://github.com/catlee/ccache/compare/jrosdahl:master...catlee:profile Merged now. Thanks! -- Joel ___ ccache mailing list ccache@lists.samba.org https