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 @@ -84,6 +84,7 @@ struct gcov_fn_info {
8484 * @version: gcov version magic indicating the gcc version used for compilation
8585 * @next: list head for a singly-linked list
8686 * @stamp: uniquifying time stamp
87+ * @checksum: unique object checksum
8788 * @filename: name of the associated gcov data file
8889 * @merge: merge functions (null for unused counter type)
8990 * @n_functions: number of instrumented functions
@@ -96,6 +97,10 @@ struct gcov_info {
9697 unsigned int version ;
9798 struct gcov_info * next ;
9899 unsigned int stamp ;
100+ /* Since GCC 12.1 a checksum field is added. */
101+ #if (__GNUC__ >= 12 )
102+ unsigned int checksum ;
103+ #endif
99104 const char * filename ;
100105 void (* merge [GCOV_COUNTERS ])(gcov_type * , unsigned int );
101106 unsigned int n_functions ;
You can’t perform that action at this time.
0 commit comments