LLVM 19.0.0git
Classes | Namespaces | Macros | Functions
DefineExternalSectionStartAndEndSymbols.h File Reference
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
#include "llvm/Support/Debug.h"

Go to the source code of this file.

Classes

struct  llvm::jitlink::SectionRangeSymbolDesc
 
class  llvm::jitlink::DefineExternalSectionStartAndEndSymbols< SymbolIdentifierFunction >
 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.