.. | .. |
---|
85 | 85 | * @version: gcov version magic indicating the gcc version used for compilation |
---|
86 | 86 | * @next: list head for a singly-linked list |
---|
87 | 87 | * @stamp: uniquifying time stamp |
---|
| 88 | + * @checksum: unique object checksum |
---|
88 | 89 | * @filename: name of the associated gcov data file |
---|
89 | 90 | * @merge: merge functions (null for unused counter type) |
---|
90 | 91 | * @n_functions: number of instrumented functions |
---|
.. | .. |
---|
97 | 98 | unsigned int version; |
---|
98 | 99 | struct gcov_info *next; |
---|
99 | 100 | unsigned int stamp; |
---|
| 101 | + /* Since GCC 12.1 a checksum field is added. */ |
---|
| 102 | +#if (__GNUC__ >= 12) |
---|
| 103 | + unsigned int checksum; |
---|
| 104 | +#endif |
---|
100 | 105 | const char *filename; |
---|
101 | 106 | void (*merge[GCOV_COUNTERS])(gcov_type *, unsigned int); |
---|
102 | 107 | unsigned int n_functions; |
---|