https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105238

--- Comment #2 from Esger Abbink <esgergn at hotmail dot com> ---
There certainly is overlap yes, in particular:

"(a) build directory relative paths were stored as the .gcda paths
(/a/b/c/master/path/to/file.gcda becomes path/to/file.gcda)"

from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063#c8 is exactly what we
want (without mangling).

Where the build directory would then be /home/esger/src/application in the
situation described above.


I am happy to test the patch, but not quite sure how to proceed.
-fprofile-prefix-map is not a valid option for gcc 9 or 10 as far as I can
tell. To which gcc version/branch should I apply the patch? (the other issue
mentions a 10.3.x branch, but a clone of the git gcc source does not seem to
have such a branch?)

Reply via email to