summaryrefslogtreecommitdiff
path: root/xen/common/coverage/gcc_5.c
blob: 6e0d276f3bcfe9f7d8406a31cc8146aa0986f0cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 *  This code provides functions to handle gcc's profiling data format
 *  introduced with gcc 5.
 *
 *  For a better understanding, refer to gcc source:
 *  gcc/gcov-io.h
 *  libgcc/libgcov.c
 *
 *  Uses gcc-internal data definitions.
 *
 *  Imported from Linux and modified for Xen by
 *    Wei Liu <wei.liu2@citrix.com>
 */

#include "gcov.h"

#if GCC_VERSION < 50000 || GCC_VERSION >= 70000
#error "Wrong version of GCC used to compile gcov"
#endif

#define GCOV_COUNTERS 10

#include "gcc_4_7.c"

/*
 * Local variables:
 * mode: C
 * c-file-style: "BSD"
 * c-basic-offset: 4
 * tab-width: 4
 * indent-tabs-mode: nil
 * End:
 */