diff options
author | Martin Liska <[email protected]> | 2022-10-13 09:40:59 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-10-20 21:27:22 -0700 |
commit | 977ef30a7d888eeb52fb6908f99080f33e5309a8 (patch) | |
tree | f0962f42a84a64fda7917344e3b347af74750042 /scripts/gdb/linux/lists.py | |
parent | 4249a05ff670e7b1aeea77f1a5451080ea86c88d (diff) |
gcov: support GCC 12.1 and newer compilers
Starting with GCC 12.1, the created .gcda format can't be read by gcov
tool. There are 2 significant changes to the .gcda file format that
need to be supported:
a) [gcov: Use system IO buffering]
(23eb66d1d46a34cb28c4acbdf8a1deb80a7c5a05) changed that all sizes in
the format are in bytes and not in words (4B)
b) [gcov: make profile merging smarter]
(72e0c742bd01f8e7e6dcca64042b9ad7e75979de) add a new checksum to the
file header.
Tested with GCC 7.5, 10.4, 12.2 and the current master.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Martin Liska <[email protected]>
Tested-by: Peter Oberparleiter <[email protected]>
Reviewed-by: Peter Oberparleiter <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions