Create PGOName metadata when it differs from GO's mangled name.
Synopsis
Declared in <llvm/ProfileData/InstrProf.h>
void
createPGONameMetadata(
GlobalObject& GO,
StringRef PGOName);
Description
Applies to local‐linkage global objects only.
Parameters
Name |
Description |
GO |
Global object that receives the metadata. |
PGOName |
PGO name to store when it differs from the mangled name. |
Created with MrDocs