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

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

Classes

struct  Options
 

Public Member Functions

 LLVMSymbolizer ()
 
 LLVMSymbolizer (const Options &Opts)
 
 ~LLVMSymbolizer ()
 
Expected< DILineInfosymbolizeCode (const ObjectFile &Obj, object::SectionedAddress ModuleOffset)
 
Expected< DILineInfosymbolizeCode (const std::string &ModuleName, object::SectionedAddress ModuleOffset)
 
Expected< DILineInfosymbolizeCode (ArrayRef< uint8_t > BuildID, object::SectionedAddress ModuleOffset)
 
Expected< DIInliningInfosymbolizeInlinedCode (const ObjectFile &Obj, object::SectionedAddress ModuleOffset)
 
Expected< DIInliningInfosymbolizeInlinedCode (const std::string &ModuleName, object::SectionedAddress ModuleOffset)
 
Expected< DIInliningInfosymbolizeInlinedCode (ArrayRef< uint8_t > BuildID, object::SectionedAddress ModuleOffset)
 
Expected< DIGlobalsymbolizeData (const ObjectFile &Obj, object::SectionedAddress ModuleOffset)
 
Expected< DIGlobalsymbolizeData (const std::string &ModuleName, object::SectionedAddress ModuleOffset)
 
Expected< DIGlobalsymbolizeData (ArrayRef< uint8_t > BuildID, object::SectionedAddress ModuleOffset)
 
Expected< std::vector< DILocal > > symbolizeFrame (const ObjectFile &Obj, object::SectionedAddress ModuleOffset)
 
Expected< std::vector< DILocal > > symbolizeFrame (const std::string &ModuleName, object::SectionedAddress ModuleOffset)
 
Expected< std::vector< DILocal > > symbolizeFrame (ArrayRef< uint8_t > BuildID, object::SectionedAddress ModuleOffset)
 
void flush ()
 
void pruneCache ()
 
void addDIFetcher (std::unique_ptr< DIFetcher > Fetcher)
 

Static Public Member Functions

static std::string DemangleName (const std::string &Name, const SymbolizableModule *DbiModuleDescriptor)
 

Detailed Description

Definition at line 50 of file Symbolize.h.

Constructor & Destructor Documentation

◆ LLVMSymbolizer() [1/2]

llvm::symbolize::LLVMSymbolizer::LLVMSymbolizer ( )
default

◆ LLVMSymbolizer() [2/2]

llvm::symbolize::LLVMSymbolizer::LLVMSymbolizer ( const Options Opts)

Definition at line 48 of file Symbolize.cpp.

◆ ~LLVMSymbolizer()

llvm::symbolize::LLVMSymbolizer::~LLVMSymbolizer ( )
default

Member Function Documentation

◆ addDIFetcher()

void llvm::symbolize::LLVMSymbolizer::addDIFetcher ( std::unique_ptr< DIFetcher Fetcher)
inline

Definition at line 118 of file Symbolize.h.

References move.

◆ DemangleName()

std::string llvm::symbolize::LLVMSymbolizer::DemangleName ( const std::string &  Name,
const SymbolizableModule DbiModuleDescriptor 
)
static

◆ flush()

void llvm::symbolize::LLVMSymbolizer::flush ( )

Definition at line 234 of file Symbolize.cpp.

References llvm::StringMap< ValueTy, AllocatorTy >::clear().

◆ pruneCache()

void llvm::symbolize::LLVMSymbolizer::pruneCache ( )

◆ symbolizeCode() [1/3]

Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode ( ArrayRef< uint8_t >  BuildID,
object::SectionedAddress  ModuleOffset 
)

Definition at line 94 of file Symbolize.cpp.

◆ symbolizeCode() [2/3]

Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode ( const ObjectFile Obj,
object::SectionedAddress  ModuleOffset 
)

Definition at line 82 of file Symbolize.cpp.

◆ symbolizeCode() [3/3]

Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode ( const std::string &  ModuleName,
object::SectionedAddress  ModuleOffset 
)

Definition at line 88 of file Symbolize.cpp.

◆ symbolizeData() [1/3]

Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData ( ArrayRef< uint8_t >  BuildID,
object::SectionedAddress  ModuleOffset 
)

Definition at line 188 of file Symbolize.cpp.

◆ symbolizeData() [2/3]

Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData ( const ObjectFile Obj,
object::SectionedAddress  ModuleOffset 
)

Definition at line 176 of file Symbolize.cpp.

◆ symbolizeData() [3/3]

Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData ( const std::string &  ModuleName,
object::SectionedAddress  ModuleOffset 
)

Definition at line 182 of file Symbolize.cpp.

◆ symbolizeFrame() [1/3]

Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame ( ArrayRef< uint8_t >  BuildID,
object::SectionedAddress  ModuleOffset 
)

Definition at line 229 of file Symbolize.cpp.

◆ symbolizeFrame() [2/3]

Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame ( const ObjectFile Obj,
object::SectionedAddress  ModuleOffset 
)

Definition at line 217 of file Symbolize.cpp.

◆ symbolizeFrame() [3/3]

Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame ( const std::string &  ModuleName,
object::SectionedAddress  ModuleOffset 
)

Definition at line 223 of file Symbolize.cpp.

◆ symbolizeInlinedCode() [1/3]

Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode ( ArrayRef< uint8_t >  BuildID,
object::SectionedAddress  ModuleOffset 
)

Definition at line 143 of file Symbolize.cpp.

◆ symbolizeInlinedCode() [2/3]

Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode ( const ObjectFile Obj,
object::SectionedAddress  ModuleOffset 
)

Definition at line 131 of file Symbolize.cpp.

◆ symbolizeInlinedCode() [3/3]

Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode ( const std::string &  ModuleName,
object::SectionedAddress  ModuleOffset 
)

Definition at line 137 of file Symbolize.cpp.


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