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

Name

Description

GO

External global object being referenced.

TM

Target machine whose sectioning conventions apply.

Created with MrDocs