llvm::offloading::getOffloadEntrySection

Returns the section name for offloading entries based on the target triple.

Synopsis

Declared in <llvm/Frontend/Offloading/Utility.h>

StringRef
getOffloadEntrySection(Module& M);

Description

ELF: "llvm_offload_entries", COFF: "llvm_offload_entries", Mach-O: "__LLVM,offload_entries".

Return Value

The offloading entry section name for the module's object format.

Parameters

NameDescription
MThe module whose target triple selects the section name.