Encapsulate the names of CFI target functions for ThinLTO export.
Declared in <llvm/IR/ModuleSummaryIndex.h>
class CfiFunctionIndex;
It interfaces with ThinLTO to determine efficiently which of the names need to be exported for a particular module.
| Name | Description |
|---|---|
CfiFunctionIndex [constructor] | Constructors |
addSymbolWithThinLTOGUID | Add the function name and the GUID that ThinLTO uses for it. |
contains | Return true if Name is recorded as a CFI target function. |
empty | Return true if no CFI target function names are recorded. |
getExportedThinLTOGUIDs | get the set of GUIDs that should also be exported because they are the GUIDs of the cfi functions encapsulated here. |
getNamesForGUID | get the name(s) associated with a given ThinLTO GUID. This enables efficient identification of the subset of names that should be included in a module summary. |
getSortedSymbols | API used for serialization, e.g. YAML. |