]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
comment
authorChris AtLee <catlee@mozilla.com>
Fri, 29 Jul 2011 20:46:45 +0000 (16:46 -0400)
committerChris AtLee <catlee@mozilla.com>
Fri, 29 Jul 2011 20:46:45 +0000 (16:46 -0400)
ccache.c

index 21657ad2d30fdaaa5d34d4fdfaf6de8252e9ead3..2cd7323edbaaa25822d5f8c8913f9449a11b81ae 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -1052,6 +1052,8 @@ calculate_object_hash(struct args *args, struct mdfour *hash, int direct_mode)
                char *base_name;
                output_to_real_object_first = true;
                base_name = remove_extension(output_obj);
+               /* profile_dir is cwd by default unless overridden by
+                * -fprofile-use=<dir>, or -fprofile-dir */
                gcda_name = format("%s/%s.gcda", profile_dir, base_name);
                cc_log("Adding profile data %s to our hash", gcda_name);
                /* Add the gcda to our hash */