LLVM 20.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::symbolize::SymbolizableObjectFile Class Reference

#include "llvm/DebugInfo/Symbolize/SymbolizableObjectFile.h"

Inheritance diagram for llvm::symbolize::SymbolizableObjectFile:
Inheritance graph
[legend]

Public Member Functions

DILineInfo symbolizeCode (object::SectionedAddress ModuleOffset, DILineInfoSpecifier LineInfoSpecifier, bool UseSymbolTable) const override
 
DIInliningInfo symbolizeInlinedCode (object::SectionedAddress ModuleOffset, DILineInfoSpecifier LineInfoSpecifier, bool UseSymbolTable) const override
 
DIGlobal symbolizeData (object::SectionedAddress ModuleOffset) const override
 
std::vector< DILocalsymbolizeFrame (object::SectionedAddress ModuleOffset) const override
 
std::vector< object::SectionedAddressfindSymbol (StringRef Symbol, uint64_t Offset) const override
 
bool isWin32Module () const override
 
uint64_t getModulePreferredBase () const override
 
- Public Member Functions inherited from llvm::symbolize::SymbolizableModule
virtual ~SymbolizableModule ()=default
 
virtual DILineInfo symbolizeCode (object::SectionedAddress ModuleOffset, DILineInfoSpecifier LineInfoSpecifier, bool UseSymbolTable) const =0
 
virtual DIInliningInfo symbolizeInlinedCode (object::SectionedAddress ModuleOffset, DILineInfoSpecifier LineInfoSpecifier, bool UseSymbolTable) const =0
 
virtual DIGlobal symbolizeData (object::SectionedAddress ModuleOffset) const =0
 
virtual std::vector< DILocalsymbolizeFrame (object::SectionedAddress ModuleOffset) const =0
 
virtual std::vector< object::SectionedAddressfindSymbol (StringRef Symbol, uint64_t Offset) const =0
 
virtual bool isWin32Module () const =0
 
virtual uint64_t getModulePreferredBase () const =0
 

Static Public Member Functions

static Expected< std::unique_ptr< SymbolizableObjectFile > > create (const object::ObjectFile *Obj, std::unique_ptr< DIContext > DICtx, bool UntagAddresses)
 

Detailed Description

Definition at line 31 of file SymbolizableObjectFile.h.

Member Function Documentation

◆ create()

Expected< std::unique_ptr< SymbolizableObjectFile > > SymbolizableObjectFile::create ( const object::ObjectFile Obj,
std::unique_ptr< DIContext DICtx,
bool  UntagAddresses 
)
static

◆ findSymbol()

std::vector< object::SectionedAddress > SymbolizableObjectFile::findSymbol ( StringRef  Symbol,
uint64_t  Offset 
) const
overridevirtual

Implements llvm::symbolize::SymbolizableModule.

Definition at line 354 of file SymbolizableObjectFile.cpp.

References A, Addr, llvm::Offset, and Sym.

◆ getModulePreferredBase()

uint64_t SymbolizableObjectFile::getModulePreferredBase ( ) const
overridevirtual

Implements llvm::symbolize::SymbolizableModule.

Definition at line 227 of file SymbolizableObjectFile.cpp.

◆ isWin32Module()

bool SymbolizableObjectFile::isWin32Module ( ) const
overridevirtual

◆ symbolizeCode()

DILineInfo SymbolizableObjectFile::symbolizeCode ( object::SectionedAddress  ModuleOffset,
DILineInfoSpecifier  LineInfoSpecifier,
bool  UseSymbolTable 
) const
overridevirtual

◆ symbolizeData()

DIGlobal SymbolizableObjectFile::symbolizeData ( object::SectionedAddress  ModuleOffset) const
overridevirtual

◆ symbolizeFrame()

std::vector< DILocal > SymbolizableObjectFile::symbolizeFrame ( object::SectionedAddress  ModuleOffset) const
overridevirtual

◆ symbolizeInlinedCode()

DIInliningInfo SymbolizableObjectFile::symbolizeInlinedCode ( object::SectionedAddress  ModuleOffset,
DILineInfoSpecifier  LineInfoSpecifier,
bool  UseSymbolTable 
) const
overridevirtual

The documentation for this class was generated from the following files: