[lld] [compiler-rt] [llvm] [InstrProf] No linkage prefixes in IRPGO names (PR #76994)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 14:46:27 PST 2024
================
@@ -330,7 +303,17 @@ static std::optional<std::string> lookupPGONameFromMetadata(MDNode *MD) {
return {};
}
-// Returns the PGO object name. This function has some special handling
+// The PGO name has the format [<filepath>;]<function-name> where <filepath>; is
----------------
ellishg wrote:
Where is `getIRPGOObjectName()` called on a global variable? My understanding is that it is only used on functions we want to instrument.
https://github.com/llvm/llvm-project/pull/76994
More information about the llvm-commits
mailing list