[compiler-rt] [llvm] [InstrProf] Add debuginfod correlation support (PR #106606)

Daniel Thornburgh via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 14:31:28 PDT 2024


================
@@ -914,9 +922,14 @@ static void mergeInstrProfile(const WeightedFileVector &Inputs,
     exitWithError("unknown format is specified");
 
   // TODO: Maybe we should support correlation with mixture of different
-  // correlation modes(w/wo debug-info/object correlation).
-  if (!DebugInfoFilename.empty() && !BinaryFilename.empty())
-    exitWithError("Expected only one of -debug-info, -binary-file");
+  // correlaxtion modes(w/wo debug-info/object correlation).
----------------
mysterymath wrote:

nit: I'm presuming `correlaxtion` is a typo?

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


More information about the llvm-commits mailing list