llvm::TargetLoweringObjectFile::getCustomSectionName

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

The custom section name for GO.

Parameters

NameDescription
GOGlobal object whose custom section name is queried.
TMTarget machine whose naming conventions apply.