[#llvm-CfiFunctionIndex] = xref:llvm.adoc[llvm]::CfiFunctionIndex :relfileprefix: ../ :mrdocs: Encapsulate the names of CFI target functions for ThinLTO export. == Synopsis Declared in `<llvm/IR/ModuleSummaryIndex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CfiFunctionIndex; ---- == Description It interfaces with ThinLTO to determine efficiently which of the names need to be exported for a particular module. == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/CfiFunctionIndex/2constructor-0a.adoc[`CfiFunctionIndex`] [.small]#[constructor]# | Constructors | xref:llvm/CfiFunctionIndex/addSymbolWithThinLTOGUID.adoc[`addSymbolWithThinLTOGUID`] | Add the function name and the GUID that ThinLTO uses for it. | xref:llvm/CfiFunctionIndex/contains.adoc[`contains`] | Return true if `Name` is recorded as a CFI target function. | xref:llvm/CfiFunctionIndex/empty.adoc[`empty`] | Return true if no CFI target function names are recorded. | xref:llvm/CfiFunctionIndex/getExportedThinLTOGUIDs.adoc[`getExportedThinLTOGUIDs`] | get the set of GUIDs that should also be exported because they are the GUIDs of the cfi functions encapsulated here. | xref:llvm/CfiFunctionIndex/getNamesForGUID.adoc[`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. | xref:llvm/CfiFunctionIndex/getSortedSymbols.adoc[`getSortedSymbols`] | API used for serialization, e.g. YAML. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#