Return the name of the profile section corresponding to IPSK.
Synopsis
Declared in <llvm/ProfileData/InstrProf.h>
std::string
getInstrProfSectionName(
InstrProfSectKind IPSK,
Triple::ObjectFormatType OF,
bool AddSegmentInfo = true);
Description
The name of the section depends on the object format type OF. If AddSegmentInfo is true, a segment prefix and additional linker hints may be added to the section name (this is the default).
Return Value
Object‐format‐specific name of the profile section.
Parameters
Name |
Description |
IPSK |
Profile section kind to name. |
OF |
Object file format that determines section naming. |
AddSegmentInfo |
If true, add segment prefixes and linker hints. |
Created with MrDocs