[#llvm-ifs-convertELFEndiannessToIFS] = xref:llvm.adoc[llvm]::xref:llvm/ifs.adoc[ifs]::convertELFEndiannessToIFS :relfileprefix: ../../ :mrdocs: Maps an ELF EI_DATA value to an IFSEndiannessType. == Synopsis Declared in `<llvm/InterfaceStub/IFSStub.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/ifs/IFSEndiannessType.adoc[IFSEndiannessType] convertELFEndiannessToIFS(uint8_t Endianness); ---- == Description This function extracts ELF endianness from e_ident[EI_DATA]of an ELF file. Currently, ELFDATA2LSB and ELFDATA2MSB are supported. Other endianness types are mapped to IFSEndiannessType::Unknown. == Return Value The corresponding IFSEndiannessType, or IFSEndiannessType::Unknown. == Parameters [cols="1,4"] |=== | Name| Description | *Endianness* | e_ident[EI_DATA]value to extract endianness type from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#