llvm::TargetLoweringObjectFile::getSectionForExternalReference

On targets that associate external references with a section, return such a section for the given external global.

Synopsis

Declared in <llvm/Target/TargetLoweringObjectFile.h>

virtual
MCSection*
getSectionForExternalReference(
    GlobalObject const* GO,
    TargetMachine const& TM) const;

Return Value

The section associated with the external reference, or nullptr if unsupported.

Parameters

NameDescription
GOExternal global object being referenced.
TMTarget machine whose sectioning conventions apply.