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

Ellis Hoag via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 14:29:34 PDT 2023


================
@@ -60,10 +60,7 @@ using namespace llvm;
 #define DEBUG_TYPE "instrprof"
 
 namespace llvm {
-cl::opt<bool>
-    DebugInfoCorrelate("debug-info-correlate",
-                       cl::desc("Use debug info to correlate profiles."),
-                       cl::init(false));
----------------
ellishg wrote:

Is it possible to make this an alias to `-profile-correlate=debug-info`? I do like the new flag better, but I want to make sure we don't break existing code that relies on this flag. We should give users a chance to migrate.

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


More information about the cfe-commits mailing list