Displaying 2 results from an estimated 2 matches for "llvm_profile_header".
2017 Oct 26
1
[PATCH for-next 7/9] coverage: introduce support for llvm profiling
..."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;
+ uint64_t counters_size;
+ uint64_t names_size;
+ uint64_t counters_delta;
+ uint64_t names_delta;
+ uint64_t value_kind_last;
+};
+
+int __llvm_profile_runtime;
+
+extern struct llvm_profile_data __start___llvm_...
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