LLVM  10.0.0svn
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 std::string &ModuleName, object::SectionedAddress ModuleOffset)
 
Expected< DIGlobalsymbolizeData (const std::string &ModuleName, 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 35 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 50 of file Symbolize.h.

◆ ~LLVMSymbolizer()

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

Definition at line 52 of file Symbolize.h.

References Context, Info, and Name.

Member Function Documentation

◆ DemangleName()

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

◆ flush()

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

◆ symbolizeCode() [1/2]

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

◆ symbolizeCode() [2/2]

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

Definition at line 92 of file Symbolize.cpp.

References llvm::Expected< T >::takeError().

◆ symbolizeData()

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

◆ symbolizeFrame()

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

◆ symbolizeInlinedCode()

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

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