llvm::TargetLoweringObjectFile::getFunctionEntryPointSymbol

If supported, return the function entry point symbol. Otherwise, returns nullptr. Func must be a function or an alias which has a function as base object.

Synopsis

Declared in <llvm/Target/TargetLoweringObjectFile.h>

virtual
MCSymbol*
getFunctionEntryPointSymbol(
    GlobalValue const* Func,
    TargetMachine const& TM) const;

Return Value

The function entry point symbol, or nullptr if unsupported.

Parameters

NameDescription
FuncFunction or function alias whose entry point is requested.
TMTarget machine whose symbol conventions apply.