update gcov info for newer versions of gcc
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 8 repliesIn review
- v11 patch 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | coverage: simplify the logic of choosing the number of gcov counters depending on the gcc versionxen/ xen/ xen/ +2 more | +10 | 6 replies | |
| 2/2 | coverage: update gcov info for newer versions of gccxen/ | +21 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich |
|---|---|
| 1/2 | R-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [XEN PATCH v2 0/2] update gcov info for newer versions of gcc
The gcov info changes with different versions of gcc. This patch series updates it so that we can capture coverage for xen built with newer compilers.
This doesn't solve all the problems with coverage as Xen still crashes when trying to reset/read coverage[0]. Still, it's a step forward.
[0] https://gitlab.com/xen-project/xen/-/issues/168
I have tested it with a workaround for the aforementioned bug (commenting out freeing of the init sections) and the following gcc versions:
- gcc 4.8.5
- gcc 4.9.4
- gcc 6.5.0
- gcc 7.5.0
- gcc 8.5.0
- gcc 9.5.0
- gcc 10.5.0
- gcc 11.4.0
- gcc 12.3.0
Javi Merino (2):
coverage: simplify the logic of choosing the number of gcov counters
depending on the gcc version
coverage: update gcov info for newer versions of gcc
xen/common/coverage/Makefile | 6 +----- xen/common/coverage/gcc_4_7.c | 39 ++++++++++++++++++++++++++--------- xen/common/coverage/gcc_4_9.c | 33 ----------------------------- xen/common/coverage/gcc_5.c | 33 ----------------------------- xen/common/coverage/gcc_7.c | 30 --------------------------- 5 files changed, 30 insertions(+), 111 deletions(-) delete mode 100644 xen/common/coverage/gcc_4_9.c delete mode 100644 xen/common/coverage/gcc_5.c delete mode 100644 xen/common/coverage/gcc_7.c
Signature · 1 line
2.41.0