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

Zequan Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 11:46:56 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();
----------------
ZequanWu wrote:

Renamed to `__llvm_profile_has_correlation` at https://github.com/llvm/llvm-project/commit/7fa9930847bbef4319c2d2e9c782eb5c8e6b1892

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


More information about the cfe-commits mailing list