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

--- Comment #2 from vit9696 <vit9696 at protonmail dot com> ---
Sure, the example is published on godbolt, but for completeness:

int main() {}

gcc -fprofile-arcs -S t.c -o t.s
cat t.s | grep gcda

Adding the mentioned arguments (e.g. -fprofile-prefix-map=/home/user=/test)
shows that it is not possible to make the output contain the desired:

.string "/test/t.gcda

But it will remain to be something like:

.string "/home/user/t.gcda

Reply via email to