[llvm] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

Zequan Wu via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 10:46:12 PDT 2023


================
@@ -98,13 +99,16 @@ extern cl::opt<bool> PrintPipelinePasses;
 static cl::opt<bool> ClSanitizeOnOptimizerEarlyEP(
     "sanitizer-early-opt-ep", cl::Optional,
     cl::desc("Insert sanitizers on OptimizerEarlyEP."), cl::init(false));
-}
+
+extern cl::opt<InstrProfCorrelator::ProfCorrelatorKind> ProfileCorrelate;
----------------
ZequanWu wrote:

I'm not sure if I understand this comment. Do you mean just keep debug-info kind? `ProfileCorrelate` is used below for getting default profile name.

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


More information about the llvm-commits mailing list