[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2022-03-31 Thread vit9696 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 --- Comment #14 from vit9696 --- I have just tested this patch after rebasing it on 10.3.x branch, and can confirm it works as intended. Thank you!

[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2022-03-31 Thread vit9696 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 --- Comment #12 from vit9696 --- It is an in-house airborne RTOS we develop in ISP RAS. There is a legacy paper in English telling a bit more about the project (https://www.ispras.ru/proceedings/docs/2016/28/2/isp_28_2016_2_181.pdf).

[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2022-03-31 Thread vit9696 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 --- Comment #10 from vit9696 --- I believe this is possible. Since we use both clang and gcc, I filed an issue in llvm first to make sure both compilers can be updated in a similar way (https://github.com/llvm/llvm-project/issues/54670).

[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2022-03-31 Thread vit9696 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 --- Comment #8 from vit9696 --- > Sure, well, I can imagine introducing something similar to what we have for > gcov: > > $ gcov --help | grep hash > -x, --hash-filenamesHash long pathnames Yes, that would likely solve the issue

[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2022-03-31 Thread vit9696 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 --- Comment #6 from vit9696 --- While true, this scenario is simply inconvenient in many cases. (1) When filesystem path limitations exist, they will unavoidably lead to being unable to save data due to extra large resulting paths. To remind yo

[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2022-03-30 Thread vit9696 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 --- Comment #4 from vit9696 --- Path length limitation in the current case is 200 bytes, but in general the issue is that we would like _to be able to properly set the gcda path for the target_. Currently the specified path may not even exist wh

[Bug gcov-profile/105063] [GCOV] Ability to map .gcda paths

2022-03-30 Thread vit9696 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 --- Comment #2 from vit9696 --- 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) sh

[Bug gcov-profile/105063] New: [GCOV] Ability to map .gcda paths

2022-03-26 Thread vit9696 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105063 Bug ID: 105063 Summary: [GCOV] Ability to map .gcda paths Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profil