[compiler-rt] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

David Li via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 10:20:06 PDT 2023


================
@@ -66,8 +66,9 @@ int __llvm_profile_check_compatibility(const char *ProfileData,
       Header->NumCounters !=
           __llvm_profile_get_num_counters(__llvm_profile_begin_counters(),
                                           __llvm_profile_end_counters()) ||
-      Header->NamesSize != (uint64_t)(__llvm_profile_end_names() -
-                                      __llvm_profile_begin_names()) ||
+      Header->NamesSize !=
----------------
david-xl wrote:

candidate in refactor patch

https://github.com/llvm/llvm-project/pull/69493


More information about the llvm-commits mailing list