llvm::TargetLoweringObjectFile::getSectionForTOCEntry

On targets that support TOC entries, return a section for the entry given the symbol it refers to. TODO: Implement this interface for existing ELF targets.

Synopsis

Declared in <llvm/Target/TargetLoweringObjectFile.h>

virtual
MCSection*
getSectionForTOCEntry(
    MCSymbol const* S,
    TargetMachine const& TM) const;

Return Value

The section for the TOC entry, or nullptr if unsupported.

Parameters

NameDescription
SSymbol referred to by the TOC entry.
TMTarget machine whose sectioning conventions apply.