[clang] [llvm] [compiler-rt] [Profile] Refactor profile correlation. (PR #70856)

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 11:42:18 PDT 2023


================
@@ -261,6 +261,9 @@ uint64_t __llvm_profile_get_magic(void);
 /*! \brief Get the version of the file format. */
 uint64_t __llvm_profile_get_version(void);
 
+/*! \brief If the binary is compiled with profile correlation. */
+int hasCorrelation();
----------------
petrhosek wrote:

The name of this function doesn't follow the existing convention, it should be named `__llvm_profile_has_correlation`.

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


More information about the cfe-commits mailing list