search for: llvm_profile_data

Displaying 2 results from an estimated 2 matches for "llvm_profile_data".

Did you mean: __llvm_profile_data
2017 Oct 26
1
[PATCH for-next 7/9] coverage: introduce support for llvm profiling
...16 | (uint64_t)'R' << 8 | (uint64_t)129 + +#if __clang_major__ >= 4 || (__clang_major__ == 3 && __clang_minor__ == 9) +#define LLVM_PROFILE_VERSION 4 +#define LLVM_PROFILE_NUM_KINDS 2 +#else +#error "clang version not supported with coverage" +#endif + +struct llvm_profile_data { + uint64_t name_ref; + uint64_t function_hash; + void *counter; + void *function; + void *values; + uint32_t nr_counters; + uint16_t nr_value_sites[LLVM_PROFILE_NUM_KINDS]; +}; + +struct llvm_profile_header { + uint64_t magic; + uint64_t version; + uint64_t data_size...
2017 Oct 26
2
[PATCH for-next 0/9] LLVM coverage support for Xen
Hello, The following patch series enables LLVM coverage support for the Xen hypervisor. This first patches are a re-organization of the gcov support, in order to make the support generic for all coverage technologies. This is mostly a name change from gcov -> cov in several places and files, together with the addition of a Kconfig option in order to enable LLVM coverage. Patch 7 introduces