LLVM  6.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 (const Options &Opts=Options())
 
 ~LLVMSymbolizer ()
 
Expected< DILineInfosymbolizeCode (const std::string &ModuleName, uint64_t ModuleOffset, StringRef DWPName="")
 
Expected< DIInliningInfosymbolizeInlinedCode (const std::string &ModuleName, uint64_t ModuleOffset, StringRef DWPName="")
 
Expected< DIGlobalsymbolizeData (const std::string &ModuleName, uint64_t ModuleOffset)
 
void flush ()
 

Static Public Member Functions

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

Detailed Description

Definition at line 36 of file Symbolize.h.

Constructor & Destructor Documentation

◆ LLVMSymbolizer()

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

Definition at line 54 of file Symbolize.h.

◆ ~LLVMSymbolizer()

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

Definition at line 56 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 137 of file Symbolize.cpp.

References llvm::symbolize::__cxa_demangle(), llvm::all_of(), llvm::sys::path::append(), assert(), llvm::StringRef::begin(), C, llvm::consumeError(), Context, llvm::zlib::crc32(), llvm::symbolize::SymbolizableObjectFile::create(), llvm::DWARFContext::create(), llvm::object::createBinary(), llvm::Data, llvm::ArrayRef< T >::data(), llvm::symbolize::LLVMSymbolizer::Options::DefaultArch, llvm::DWARFContext::defaultErrorHandler(), llvm::StringRef::drop_back(), llvm::StringRef::drop_front(), llvm::symbolize::LLVMSymbolizer::Options::DsymHints, llvm::dyn_cast(), llvm::StringRef::empty(), llvm::ArrayRef< T >::empty(), llvm::StringRef::end(), llvm::StringRef::endswith(), llvm::errorCodeToError(), llvm::sys::path::extension(), llvm::sys::path::filename(), llvm::StringRef::find_first_not_of(), llvm::ErrorOr< T >::get(), llvm::Expected< T >::get(), llvm::MemoryBuffer::getFileOrSTDIN(), llvm::object::MachOObjectFile::getUuid(), I, llvm::zlib::isAvailable(), llvm::object::Binary::isLittleEndian(), llvm::object::Binary::isObject(), llvm::pdb::loadDataForEXE(), memcmp, llvm::StringRef::npos, llvm::sys::path::relative_path(), llvm::sys::path::remove_filename(), llvm::StringRef::rfind(), llvm::NVPTX::PTXCvtMode::RP, llvm::ARMBuildAttrs::Section, llvm::object::ObjectFile::sections(), llvm::ArrayRef< T >::size(), llvm::sys::fs::status(), llvm::SmallString< InternalLen >::str(), llvm::StringRef::substr(), llvm::AMDGPU::HSAMD::Kernel::Key::SymbolName, llvm::Expected< T >::takeError(), and llvm::Triple::UnknownArch.

◆ symbolizeCode()

Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode ( const std::string &  ModuleName,
uint64_t  ModuleOffset,
StringRef  DWPName = "" 
)

◆ symbolizeData()

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

◆ symbolizeInlinedCode()

Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode ( const std::string &  ModuleName,
uint64_t  ModuleOffset,
StringRef  DWPName = "" 
)

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