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

Justin Lebar justin.lebar at gmail.com
Thu Jul 21 12:40:59 MDT 2011

Do you need to hash in the cwd when compiling with -fprofile-generate?

If I use direct mode and don't have any absolute paths in my build, it
looks like I could have a cache hit between two compiles in different
directories.  That would be bad, since I think the absolute path the
.gcda is output to is hardcoded into the object file...


On Thu, Jul 21, 2011 at 2:22 PM, Chris AtLee <chris at atlee.ca> wrote:
> 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,
> Chris
> _______________________________________________
> ccache mailing list
> ccache at lists.samba.org
> https://lists.samba.org/mailman/listinfo/ccache

More information about the ccache mailing list