ΒΆstd::string getPGOFuncNameVarName(
llvm::StringRef FuncName,
GlobalValue::LinkageTypes Linkage)
std::string getPGOFuncNameVarName(
llvm::StringRef FuncName,
GlobalValue::LinkageTypes Linkage)
Description
Return the name of the global variable used to store a function name in PGO instrumentation. \c FuncName is the name of the function returned by the \c getPGOFuncName call.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:177
Parameters
- llvm::StringRef FuncName
- GlobalValue::LinkageTypes Linkage