[llvm] [lld] [compiler-rt] [InstrProf] No linkage prefixes in IRPGO names (PR #76994)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 15:22:54 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:

Oh I remember seeing this. Thanks for the pointer!

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


More information about the llvm-commits mailing list