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.
Declared in <llvm/Target/TargetLoweringObjectFile.h>
virtual
MCSection*
getSectionForTOCEntry(
MCSymbol const* S,
TargetMachine const& TM) const;
The section for the TOC entry, or nullptr if unsupported.
| Name | Description |
|---|---|
| S | Symbol referred to by the TOC entry. |
| TM | Target machine whose sectioning conventions apply. |