LLVM 20.0.0git
|
#include "llvm/DebugInfo/Symbolize/Symbolize.h"
Classes | |
struct | Options |
Static Public Member Functions | |
static std::string | DemangleName (StringRef Name, const SymbolizableModule *DbiModuleDescriptor) |
Definition at line 50 of file Symbolize.h.
|
default |
Definition at line 45 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 280 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 268 of file Symbolize.cpp.
References llvm::Offset.
Expected< std::vector< DILineInfo > > llvm::symbolize::LLVMSymbolizer::findSymbol | ( | StringRef | ModuleName, |
StringRef | Symbol, | ||
uint64_t | Offset | ||
) |
Definition at line 274 of file Symbolize.cpp.
References llvm::Offset.
void llvm::symbolize::LLVMSymbolizer::flush | ( | ) |
Definition at line 285 of file Symbolize.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::clear().
Expected< SymbolizableModule * > llvm::symbolize::LLVMSymbolizer::getOrCreateModuleInfo | ( | StringRef | 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 606 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 125 of file Symbolize.h.
Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode | ( | ArrayRef< uint8_t > | BuildID, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 95 of file Symbolize.cpp.
Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode | ( | const ObjectFile & | Obj, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 83 of file Symbolize.cpp.
Expected< DILineInfo > llvm::symbolize::LLVMSymbolizer::symbolizeCode | ( | StringRef | ModuleName, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 89 of file Symbolize.cpp.
Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData | ( | ArrayRef< uint8_t > | BuildID, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 191 of file Symbolize.cpp.
Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData | ( | const ObjectFile & | Obj, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 179 of file Symbolize.cpp.
Expected< DIGlobal > llvm::symbolize::LLVMSymbolizer::symbolizeData | ( | StringRef | ModuleName, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 185 of file Symbolize.cpp.
Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame | ( | ArrayRef< uint8_t > | BuildID, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 232 of file Symbolize.cpp.
Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame | ( | const ObjectFile & | Obj, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 220 of file Symbolize.cpp.
Expected< std::vector< DILocal > > llvm::symbolize::LLVMSymbolizer::symbolizeFrame | ( | StringRef | ModuleName, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 226 of file Symbolize.cpp.
Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode | ( | ArrayRef< uint8_t > | BuildID, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 146 of file Symbolize.cpp.
Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode | ( | const ObjectFile & | Obj, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 134 of file Symbolize.cpp.
Expected< DIInliningInfo > llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode | ( | StringRef | ModuleName, |
object::SectionedAddress | ModuleOffset | ||
) |
Definition at line 140 of file Symbolize.cpp.