LLVM 23.0.0git
Utility.cpp File Reference

Go to the source code of this file.

Functions

static std::pair< std::string, std::stringgetOffloadEntryBoundarySymbols (const Triple &T, StringRef SectionName)
 Returns the start/end symbol names for iterating offloading entries in a given section.

Function Documentation

◆ getOffloadEntryBoundarySymbols()

std::pair< std::string, std::string > getOffloadEntryBoundarySymbols ( const Triple & T,
StringRef SectionName )
static

Returns the start/end symbol names for iterating offloading entries in a given section.

Mach-O uses \1section$start$/\1section$end$ convention; ELF/COFF use __start_/__stop_ prefixes.

Definition at line 96 of file Utility.cpp.

References T.

Referenced by llvm::offloading::getOffloadEntryArray().