File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ struct gcov_fn_info {
82
82
* @version: gcov version magic indicating the gcc version used for compilation
83
83
* @next: list head for a singly-linked list
84
84
* @stamp: uniquifying time stamp
85
+ * @checksum: unique object checksum
85
86
* @filename: name of the associated gcov data file
86
87
* @merge: merge functions (null for unused counter type)
87
88
* @n_functions: number of instrumented functions
@@ -94,6 +95,10 @@ struct gcov_info {
94
95
unsigned int version ;
95
96
struct gcov_info * next ;
96
97
unsigned int stamp ;
98
+ /* Since GCC 12.1 a checksum field is added. */
99
+ #if (__GNUC__ >= 12 )
100
+ unsigned int checksum ;
101
+ #endif
97
102
const char * filename ;
98
103
void (* merge [GCOV_COUNTERS ])(gcov_type * , unsigned int );
99
104
unsigned int n_functions ;
You can’t perform that action at this time.
0 commit comments