Build a unique‐internal‐linkage post‐fix hash for FName.
Synopsis
Declared in <llvm/ProfileData/SampleProf.h>
std::string
getUniqueInternalLinkagePostfix(StringRef const& FName);
Description
Prepends "__uniq" before the hash for tools like profilers to understand that this symbol is of internal linkage type. The "__uniq" is the pre‐determined prefix that is used to tell tools that this symbol was created with ‐funique‐internal‐linkage‐symbols and the tools can strip or keep the prefix as needed.
Return Value
Decimal MD5 hash string with the unique‐internal‐linkage prefix.
Parameters
Name |
Description |
FName |
Function name to hash into a unique‐internal‐linkage suffix. |
Created with MrDocs