Return the section name specified by '#pragma clang section' or the section attribute.

Synopsis

Declared in <llvm/Target/TargetLoweringObjectFile.h>

static
StringRef
getCustomSectionName(
    GlobalObject const* GO,
    TargetMachine const& TM);

Return Value

Represent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.

Parameters

Name

Description

TM

Primary interface to the complete machine description for the target machine. All target‐specific information should be accessible through this interface.

Created with MrDocs