[compiler-rt] [clang] [clang-tools-extra] [PGO] Exposing PGO's Counter Reset and File Dumping APIs (PR #76471)
Snehasish Kumar via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 27 13:39:24 PST 2023
================
@@ -100,12 +103,6 @@ ValueProfNode *__llvm_profile_begin_vnodes();
ValueProfNode *__llvm_profile_end_vnodes();
uint32_t *__llvm_profile_begin_orderfile();
-/*!
- * \brief Clear profile counters to zero.
- *
- */
-void __llvm_profile_reset_counters(void);
----------------
snehasish wrote:
I think removing these methods from the InstrProfiling.h header may break downstream users. Instead can you add a wrapper around these methods in the new header? These wrappers can then be guarded by __LLVM_INSTR_PROFILE_GENERATE .
https://github.com/llvm/llvm-project/pull/76471
More information about the cfe-commits
mailing list