LLVM
8.0.1
|
#include "llvm/DebugInfo/Symbolize/Symbolize.h"
Classes | |
struct | Options |
Public Member Functions | |
LLVMSymbolizer (const Options &Opts=Options()) | |
~LLVMSymbolizer () | |
Expected< DILineInfo > | symbolizeCode (const std::string &ModuleName, uint64_t ModuleOffset, StringRef DWPName="") |
Expected< DIInliningInfo > | symbolizeInlinedCode (const std::string &ModuleName, uint64_t ModuleOffset, StringRef DWPName="") |
Expected< DIGlobal > | symbolizeData (const std::string &ModuleName, uint64_t ModuleOffset) |
void | flush () |
Static Public Member Functions | |
static std::string | DemangleName (const std::string &Name, const SymbolizableModule *DbiModuleDescriptor) |
Definition at line 36 of file Symbolize.h.
Definition at line 54 of file Symbolize.h.
|
inline |
Definition at line 56 of file Symbolize.h.
References Name.
|
static |
Definition at line 470 of file Symbolize.cpp.
References llvm::AMDGPU::SDWA::DWORD, llvm::symbolize::SymbolizableModule::isWin32Module(), llvm::itaniumDemangle(), Name, and llvm::sys::fs::status().
Referenced by symbolizeCode(), symbolizeData(), and symbolizeInlinedCode().
void llvm::symbolize::LLVMSymbolizer::flush | ( | ) |
Definition at line 137 of file Symbolize.cpp.
References llvm::sys::path::append(), assert(), llvm::consumeError(), Context, llvm::zlib::crc32(), llvm::object::createBinary(), llvm::Data, llvm::ArrayRef< T >::data(), llvm::symbolize::LLVMSymbolizer::Options::DefaultArch, llvm::symbolize::LLVMSymbolizer::Options::DsymHints, llvm::dyn_cast(), llvm::StringRef::empty(), llvm::ArrayRef< T >::empty(), 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(), memcmp, Name, llvm::sys::path::relative_path(), llvm::sys::path::remove_filename(), llvm::NVPTX::PTXCvtMode::RP, llvm::ARMBuildAttrs::Section, llvm::object::ObjectFile::sections(), llvm::ArrayRef< T >::size(), llvm::SmallString< InternalLen >::str(), llvm::StringRef::substr(), llvm::Expected< T >::takeError(), and llvm::Triple::UnknownArch.
Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode | ( | const std::string & | ModuleName, |
uint64_t | ModuleOffset, | ||
StringRef | DWPName = "" |
||
) |
Definition at line 57 of file Symbolize.cpp.
References llvm::symbolize::LLVMSymbolizer::Options::Demangle, DemangleName(), llvm::DILineInfo::FunctionName, llvm::symbolize::SymbolizableModule::getModulePreferredBase(), Info, llvm::symbolize::LLVMSymbolizer::Options::PrintFunctions, llvm::symbolize::LLVMSymbolizer::Options::RelativeAddresses, llvm::symbolize::SymbolizableModule::symbolizeCode(), and llvm::symbolize::LLVMSymbolizer::Options::UseSymbolTable.
Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData | ( | const std::string & | ModuleName, |
uint64_t | ModuleOffset | ||
) |
Definition at line 112 of file Symbolize.cpp.
References llvm::symbolize::LLVMSymbolizer::Options::Demangle, DemangleName(), llvm::symbolize::SymbolizableModule::getModulePreferredBase(), Info, llvm::DIGlobal::Name, llvm::symbolize::LLVMSymbolizer::Options::RelativeAddresses, and llvm::symbolize::SymbolizableModule::symbolizeData().
Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode | ( | const std::string & | ModuleName, |
uint64_t | ModuleOffset, | ||
StringRef | DWPName = "" |
||
) |
Definition at line 83 of file Symbolize.cpp.
References llvm::symbolize::LLVMSymbolizer::Options::Demangle, DemangleName(), llvm::DILineInfo::FunctionName, llvm::symbolize::SymbolizableModule::getModulePreferredBase(), llvm::DIInliningInfo::getMutableFrame(), llvm::DIInliningInfo::getNumberOfFrames(), Info, llvm::symbolize::LLVMSymbolizer::Options::PrintFunctions, llvm::symbolize::LLVMSymbolizer::Options::RelativeAddresses, llvm::symbolize::SymbolizableModule::symbolizeInlinedCode(), and llvm::symbolize::LLVMSymbolizer::Options::UseSymbolTable.