LLVM 22.0.0git
DefineExternalSectionStartAndEndSymbols.h File Reference

Go to the source code of this file.

Classes

 Pass implementation for the createDefineExternalSectionStartAndEndSymbols function. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

#define DEBUG_TYPE   "jitlink"

Functions

template<typename SymbolIdentifierFunction>
DefineExternalSectionStartAndEndSymbols< SymbolIdentifierFunction > llvm::jitlink::createDefineExternalSectionStartAndEndSymbolsPass (SymbolIdentifierFunction &&F)
 Returns a JITLink pass (as a function class) that uses the given symbol identification function to identify external section start and end symbols (and their associated Section*s) and transform the identified externals into defined symbols pointing to the start of the first block in the section and the end of the last (start and end symbols for empty sections will be transformed into absolute symbols at address 0).
SectionRangeSymbolDesc llvm::jitlink::identifyELFSectionStartAndEndSymbols (LinkGraph &G, Symbol &Sym)
 ELF section start/end symbol detection.
SectionRangeSymbolDesc llvm::jitlink::identifyMachOSectionStartAndEndSymbols (LinkGraph &G, Symbol &Sym)
 MachO section start/end symbol detection.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "jitlink"

Definition at line 21 of file DefineExternalSectionStartAndEndSymbols.h.