================
@@ -245,33 +245,34 @@ LLVM_ABI std::string
getPGOFuncName(StringRef RawFuncName, GlobalValue::LinkageTypes Linkage,
StringRef FileName, uint64_t Version =
INSTR_PROF_INDEX_VERSION);
-/// \return the modified name for function \c F suitable to be
+/// \return the modified name for global object \c GO suitable to be
/// used as the key for IRPGO profile lookup. \c InLTO indicates if this is
/// called from LTO optimization passes.
-LLVM_ABI std::string getIRPGOFuncName(const Function &F, bool InLTO = false);
+LLVM_ABI std::string getIRPGOObjectName(const GlobalObject &GO,
----------------
teresajohnson wrote:
Is the name change reflecting a behavior change from this PR? If not, can that
be split out into a follow on pr so that this one is just about the metadata
removal?
https://github.com/llvm/llvm-project/pull/214134
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits