Maps an ELF st_info symbol type to an IFSSymbolType.

Synopsis

Declared in <llvm/InterfaceStub/IFSStub.h>

IFSSymbolType
convertELFSymbolTypeToIFS(uint8_t SymbolType);

Description

This function extracts symbol type from a symbol's st_info member and maps it to an IFSSymbolType enum. Currently, STT_NOTYPE, STT_OBJECT, STT_FUNC, and STT_TLS are supported. Other symbol types are mapped to IFSSymbolType::Unknown.

Return Value

The corresponding IFSSymbolType, or IFSSymbolType::Unknown.

Parameters

Name

Description

SymbolType

Binary symbol st_info to extract symbol type from.

Created with MrDocs