ΒΆstd::string getInstrProfSectionName(
llvm::InstrProfSectKind IPSK,
Triple::ObjectFormatType OF,
bool AddSegmentInfo = true)
std::string getInstrProfSectionName(
llvm::InstrProfSectKind IPSK,
Triple::ObjectFormatType OF,
bool AddSegmentInfo = true)
Description
Return the name of the profile section corresponding to \p IPSK. The name of the section depends on the object format type \p OF. If\p AddSegmentInfo is true, a segment prefix and additional linker hints may be added to the section name (this is the default).
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:66
Parameters
- llvm::InstrProfSectKind IPSK
- Triple::ObjectFormatType OF
- bool AddSegmentInfo = true