LLVM  14.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 ()=default
 
 LLVMSymbolizer (const Options &Opts)
 
 ~LLVMSymbolizer ()
 
Expected< DILineInfosymbolizeCode (const ObjectFile &Obj, object::SectionedAddress ModuleOffset)
 
Expected< DILineInfosymbolizeCode (const std::string &ModuleName, object::SectionedAddress ModuleOffset)
 
Expected< DIInliningInfosymbolizeInlinedCode (const ObjectFile &Obj, object::SectionedAddress ModuleOffset)
 
Expected< DIInliningInfosymbolizeInlinedCode (const std::string &ModuleName, object::SectionedAddress ModuleOffset)
 
Expected< DIGlobalsymbolizeData (const ObjectFile &Obj, object::SectionedAddress ModuleOffset)
 
Expected< DIGlobalsymbolizeData (const std::string &ModuleName, 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)
 
void flush ()
 

Static Public Member Functions

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

Detailed Description

Definition at line 37 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)
inline

Definition at line 55 of file Symbolize.h.

◆ ~LLVMSymbolizer()

llvm::symbolize::LLVMSymbolizer::~LLVMSymbolizer ( )
inline

Definition at line 57 of file Symbolize.h.

Member Function Documentation

◆ DemangleName()

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

◆ flush()

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

Definition at line 200 of file Symbolize.cpp.

◆ symbolizeCode() [1/2]

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

Definition at line 72 of file Symbolize.cpp.

◆ symbolizeCode() [2/2]

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

Definition at line 78 of file Symbolize.cpp.

◆ symbolizeData() [1/2]

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

Definition at line 154 of file Symbolize.cpp.

◆ symbolizeData() [2/2]

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

Definition at line 160 of file Symbolize.cpp.

◆ symbolizeFrame() [1/2]

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

Definition at line 189 of file Symbolize.cpp.

◆ symbolizeFrame() [2/2]

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

Definition at line 195 of file Symbolize.cpp.

◆ symbolizeInlinedCode() [1/2]

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

Definition at line 115 of file Symbolize.cpp.

◆ symbolizeInlinedCode() [2/2]

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

Definition at line 121 of file Symbolize.cpp.


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