[clang-tools-extra] [compiler-rt] [clang] [PGO] Exposing PGO's Counter Reset and File Dumping APIs (PR #76471)

Snehasish Kumar via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 28 13:42:14 PST 2023


================
@@ -1364,12 +1364,22 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
   TI.getTargetDefines(LangOpts, Builder);
 }
 
+static void InitializePGOProfileMacros(const CodeGenOptions &CodeGenOpts,
----------------
snehasish wrote:

Yes, my previous comment about other frontends was based on my (incorrect) understanding header inclusion in InstrProfiling.h. Adding the macros in this PR sgtm.

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


More information about the cfe-commits mailing list