LLVM
8.0.1
|
#include "DebugInfo/Symbolize/SymbolizableObjectFile.h"
Public Member Functions | |
DILineInfo | symbolizeCode (uint64_t ModuleOffset, FunctionNameKind FNKind, bool UseSymbolTable) const override |
DIInliningInfo | symbolizeInlinedCode (uint64_t ModuleOffset, FunctionNameKind FNKind, bool UseSymbolTable) const override |
DIGlobal | symbolizeData (uint64_t ModuleOffset) const override |
bool | isWin32Module () const override |
uint64_t | getModulePreferredBase () const override |
Public Member Functions inherited from llvm::symbolize::SymbolizableModule | |
virtual | ~SymbolizableModule ()=default |
Static Public Member Functions | |
static ErrorOr< std::unique_ptr< SymbolizableObjectFile > > | create (object::ObjectFile *Obj, std::unique_ptr< DIContext > DICtx) |
Definition at line 32 of file SymbolizableObjectFile.h.
|
static |
Definition at line 46 of file SymbolizableObjectFile.cpp.
References llvm::array_pod_sort(), llvm::object::computeSymbolSizes(), llvm::Data, E, llvm::Module::empty(), llvm::errorToErrorCode(), llvm::object::COFFObjectFile::export_directories(), llvm::object::SymbolRef::getAddress(), llvm::DataExtractor::getAddress(), llvm::object::ObjectFile::getArch(), llvm::object::ObjectFile::getBytesInAddress(), llvm::object::COFFObjectFile::getImageBase(), llvm::object::SymbolRef::getName(), llvm::object::SymbolRef::getType(), I, llvm::object::Binary::isLittleEndian(), llvm::DataExtractor::isValidOffsetForAddress(), Name, llvm::object::operator<(), P, llvm::Triple::ppc64, llvm::Ref, llvm::ARMBuildAttrs::Section, llvm::object::ObjectFile::sections(), llvm::object::SymbolRef::ST_Data, llvm::object::SymbolRef::ST_Function, llvm::ARMBuildAttrs::Symbol, llvm::AMDGPU::HSAMD::Kernel::Key::SymbolName, and llvm::Expected< T >::takeError().
|
overridevirtual |
Implements llvm::symbolize::SymbolizableModule.
Definition at line 183 of file SymbolizableObjectFile.cpp.
References llvm::Address, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::begin(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::empty(), llvm::LinkageName, Name, Size, and llvm::object::SymbolRef::ST_Function.
|
overridevirtual |
Implements llvm::symbolize::SymbolizableModule.
Definition at line 178 of file SymbolizableObjectFile.cpp.
References llvm::dyn_cast(), llvm::object::COFFObjectFile::getMachine(), and llvm::COFF::IMAGE_FILE_MACHINE_I386.
|
overridevirtual |
Implements llvm::symbolize::SymbolizableModule.
Definition at line 221 of file SymbolizableObjectFile.cpp.
References getDILineInfoSpecifier().
|
overridevirtual |
Implements llvm::symbolize::SymbolizableModule.
Definition at line 266 of file SymbolizableObjectFile.cpp.
References llvm::DIGlobal::Name, llvm::DIGlobal::Size, llvm::object::SymbolRef::ST_Data, and llvm::DIGlobal::Start.
|
overridevirtual |
Implements llvm::symbolize::SymbolizableModule.
Definition at line 241 of file SymbolizableObjectFile.cpp.
References llvm::DIInliningInfo::addFrame(), getDILineInfoSpecifier(), and llvm::DIInliningInfo::getNumberOfFrames().