[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:43:40 PDT 2023


================
@@ -89,3 +89,7 @@ COMPILER_RT_VISIBILITY void __llvm_profile_reset_counters(void) {
   }
   lprofSetProfileDumped(0);
 }
+
+inline int hasCorrelation() {
----------------
petrhosek wrote:

The function should have a hidden visibility (the `COMPILER_RT_VISIBILITY` macro) so it's hidden from ABI.

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


More information about the cfe-commits mailing list