LLVM 22.0.0git
DebugObjectManagerPlugin.cpp File Reference

Go to the source code of this file.

Classes

class  llvm::orc::DebugObjectSection
class  llvm::orc::ELFDebugObjectSection< ELFT >
class  llvm::orc::DebugObject
 The plugin creates a debug object from when JITLink starts processing the corresponding LinkGraph. More...
class  llvm::orc::ELFDebugObject
 The current implementation of ELFDebugObject replicates the approach used in RuntimeDyld: It patches executable and data section headers in the given object buffer with load-addresses of their corresponding sections in target memory. More...

Namespaces

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

Macros

#define DEBUG_TYPE   "orc"
#define HANDLE_DWARF_SECTION(ENUM_NAME, ELF_NAME, CMDLINE_NAME, OPTION)

Enumerations

enum  llvm::orc::DebugObjectFlags : int { llvm::orc::ReportFinalSectionLoadAddresses = 1 << 0 , llvm::orc::HasDebugSections = 1 << 1 }

Functions

static bool llvm::orc::isDwarfSection (StringRef SectionName)
static Expected< std::unique_ptr< DebugObject > > llvm::orc::createDebugObjectFromBuffer (ExecutionSession &ES, LinkGraph &G, JITLinkContext &Ctx, MemoryBufferRef ObjBuffer)
 Creates a debug object based on the input object file from ObjectLinkingLayerJITLinkContext.

Variables

static const std::set< StringRefllvm::orc::DwarfSectionNames

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "orc"

Definition at line 31 of file DebugObjectManagerPlugin.cpp.

◆ HANDLE_DWARF_SECTION

#define HANDLE_DWARF_SECTION ( ENUM_NAME,
ELF_NAME,
CMDLINE_NAME,
OPTION )
Value:
ELF_NAME,