LLVM 20.0.0git
|
#include "llvm/DebugInfo/Symbolize/Symbolize.h"
Classes | |
struct | Options |
Static Public Member Functions | |
static std::string | DemangleName (const std::string &Name, const SymbolizableModule *DbiModuleDescriptor) |
Definition at line 50 of file Symbolize.h.
|
default |
Definition at line 46 of file Symbolize.cpp.
|
default |
|
static |
Definition at line 750 of file Symbolize.cpp.
References llvm::symbolize::SymbolizableModule::isWin32Module(), llvm::microsoftDemangle(), llvm::MSDF_NoAccessSpecifier, llvm::MSDF_NoCallingConvention, llvm::MSDF_NoMemberType, llvm::MSDF_NoReturnType, Name, and llvm::nonMicrosoftDemangle().
Expected< std::vector< DILineInfo > > llvm::symbolize::LLVMSymbolizer::findSymbol | ( | ArrayRef< uint8_t > | BuildID, |
StringRef | Symbol, | ||
uint64_t | Offset | ||
) |
Definition at line 281 of file Symbolize.cpp.
References llvm::Offset.
Expected< std::vector< DILineInfo > > llvm::symbolize::LLVMSymbolizer::findSymbol | ( | const ObjectFile & | Obj, |
StringRef | Symbol, | ||
uint64_t | Offset | ||
) |
Definition at line 269 of file Symbolize.cpp.
References llvm::Offset.
Expected< std::vector< DILineInfo > > llvm::symbolize::LLVMSymbolizer::findSymbol | ( | const std::string & | ModuleName, |
StringRef | Symbol, | ||
uint64_t | Offset | ||
) |
Definition at line 275 of file Symbolize.cpp.
References llvm::Offset.
void llvm::symbolize::LLVMSymbolizer::flush | ( | ) |
Definition at line 286 of file Symbolize.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::clear().
Expected< SymbolizableModule * > llvm::symbolize::LLVMSymbolizer::getOrCreateModuleInfo | ( | const std::string & | ModuleName | ) |
Returns a SymbolizableModule or an error if loading debug info failed.
Only one attempt is made to load a module, and errors during loading are only reported once. Subsequent calls to get module info for a module that failed to load will return nullptr.
Definition at line 607 of file Symbolize.cpp.
References llvm::any_of(), llvm::DWARFContext::create(), llvm::createFileError(), llvm::dwarf_linker::DebugInfo, llvm::symbolize::LLVMSymbolizer::Options::DefaultArch, llvm::symbolize::LLVMSymbolizer::Options::DWPName, llvm::StringRef::empty(), I, llvm::DWARFContext::Process, llvm::Triple::UnknownArch, and llvm::symbolize::LLVMSymbolizer::Options::UseDIA.
void llvm::symbolize::LLVMSymbolizer::pruneCache | ( | ) |
Definition at line 786 of file Symbolize.cpp.
References llvm::Bin, and llvm::symbolize::LLVMSymbolizer::Options::MaxCacheSize.
|
inline |
Definition at line 127 of file Symbolize.h.
Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode | ( | ArrayRef< uint8_t > | BuildID, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 96 of file Symbolize.cpp.
Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode | ( | const ObjectFile & | Obj, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 84 of file Symbolize.cpp.
Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode | ( | const std::string & | ModuleName, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 90 of file Symbolize.cpp.
Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData | ( | ArrayRef< uint8_t > | BuildID, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 192 of file Symbolize.cpp.
Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData | ( | const ObjectFile & | Obj, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 180 of file Symbolize.cpp.
Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData | ( | const std::string & | ModuleName, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 186 of file Symbolize.cpp.
Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame | ( | ArrayRef< uint8_t > | BuildID, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 233 of file Symbolize.cpp.
Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame | ( | const ObjectFile & | Obj, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 221 of file Symbolize.cpp.
Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame | ( | const std::string & | ModuleName, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 227 of file Symbolize.cpp.
Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode | ( | ArrayRef< uint8_t > | BuildID, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 147 of file Symbolize.cpp.
Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode | ( | const ObjectFile & | Obj, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 135 of file Symbolize.cpp.
Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode | ( | const std::string & | ModuleName, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 141 of file Symbolize.cpp.