LLVM: llvm::logicalview::LVDWARFReader Class Reference (original) (raw)
#include "[llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h](LVDWARFReader%5F8h%5Fsource.html)"
| Public Member Functions |
|
|
LVDWARFReader ()=delete |
|
LVDWARFReader (StringRef Filename, StringRef FileFormatName, object::ObjectFile &Obj, ScopedPrinter &W) |
|
LVDWARFReader (const LVDWARFReader &)=delete |
| LVDWARFReader & |
operator= (const LVDWARFReader &)=delete |
|
~LVDWARFReader () override=default |
| LVAddress |
getCUBaseAddress () const |
| void |
setCUBaseAddress (LVAddress Address) |
| LVAddress |
getCUHighAddress () const |
| void |
setCUHighAddress (LVAddress Address) |
| void |
setTombstoneAddress (LVAddress Address) |
| LVAddress |
getTombstoneAddress () const |
| const LVSymbols & |
GetSymbolsWithLocations () const |
| std::string |
getRegisterName (LVSmall Opcode, ArrayRef< uint64_t > Operands) override |
| void |
print (raw_ostream &OS) const |
| void |
dump () const |
| Public Member Functions inherited from llvm::logicalview::LVBinaryReader |
|
|
LVBinaryReader ()=delete |
|
LVBinaryReader (StringRef Filename, StringRef FileFormatName, ScopedPrinter &W, LVBinaryType BinaryType) |
|
LVBinaryReader (const LVBinaryReader &)=delete |
| LVBinaryReader & |
operator= (const LVBinaryReader &)=delete |
|
~LVBinaryReader () override=default |
| void |
addInlineeLines (LVScope *Scope, LVLines &Lines) |
| LVAddress |
linearAddress (uint16_t Segment, uint32_t Offset, LVAddress Addendum=0) |
| void |
addToSymbolTable (StringRef Name, LVScope *Function, LVSectionIndex SectionIndex=0) |
| void |
addToSymbolTable (StringRef Name, LVAddress Address, LVSectionIndex SectionIndex, bool IsComdat) |
| LVSectionIndex |
updateSymbolTable (LVScope *Function) |
| const LVSymbolTableEntry & |
getSymbolTableEntry (StringRef Name) |
| LVAddress |
getSymbolTableAddress (StringRef Name) |
| LVSectionIndex |
getSymbolTableIndex (StringRef Name) |
| bool |
getSymbolTableIsComdat (StringRef Name) |
| LVSectionIndex |
getSectionIndex (LVScope *Scope) override |
| void |
print (raw_ostream &OS) const |
| void |
dump () const |
| Public Member Functions inherited from llvm::logicalview::LVReader |
|
|
LVReader ()=delete |
|
LVReader (StringRef InputFilename, StringRef FileFormatName, ScopedPrinter &W, LVBinaryType BinaryType=LVBinaryType::NONE) |
|
LVReader (const LVReader &)=delete |
| LVReader & |
operator= (const LVReader &)=delete |
| virtual |
~LVReader ()=default |
| LVOperation * |
createOperation (LVSmall OpCode, ArrayRef< LVUnsigned > Operands) |
| StringRef |
getFilename (LVObject *Object, size_t Index) const |
| StringRef |
getFilename () const |
| void |
setFilename (std::string Name) |
| StringRef |
getFileFormatName () const |
| raw_ostream & |
outputStream () |
| bool |
isBinaryTypeNone () const |
| bool |
isBinaryTypeELF () const |
| bool |
isBinaryTypeCOFF () const |
| LVScopeCompileUnit * |
getCompileUnit () const |
| void |
setCompileUnit (LVScope *Scope) |
| void |
setCompileUnitCPUType (codeview::CPUType Type) |
| codeview::CPUType |
getCompileUnitCPUType () |
| LVScopeRoot * |
getScopesRoot () const |
| Error |
doPrint () |
| Error |
doLoad () |
| LVSectionIndex |
getDotTextSectionIndex () const |
| virtual bool |
isSystemEntry (LVElement *Element, StringRef Name={}) const |
| LVSplitContext & |
getSplitContext () |
| void |
notifyAddedElement (LVLine *Line) |
| void |
notifyAddedElement (LVScope *Scope) |
| void |
notifyAddedElement (LVSymbol *Symbol) |
| void |
notifyAddedElement (LVType *Type) |
| const LVLines & |
getLines () const |
| const LVScopes & |
getScopes () const |
| const LVSymbols & |
getSymbols () const |
| const LVTypes & |
getTypes () const |
| bool |
doPrintLine (const LVLine *Line) const |
| bool |
doPrintLocation (const LVLocation *Location) const |
| bool |
doPrintScope (const LVScope *Scope) const |
| bool |
doPrintSymbol (const LVSymbol *Symbol) const |
| bool |
doPrintType (const LVType *Type) const |
| void |
print (raw_ostream &OS) const |
| virtual void |
printRecords (raw_ostream &OS) const |
| void |
dump () const |
| Protected Member Functions |
|
| Error |
createScopes () override |
| void |
sortScopes () override |
| Protected Member Functions inherited from llvm::logicalview::LVBinaryReader |
|
| Error |
loadGenericTargetInfo (StringRef TheTriple, StringRef TheFeatures, StringRef TheCPU) |
| virtual void |
mapRangeAddress (const object::ObjectFile &Obj, const object::SectionRef &Section, bool IsComdat) |
| void |
mapVirtualAddress (const object::ObjectFile &Obj) |
| void |
mapVirtualAddress (const object::COFFObjectFile &COFFObj) |
| Expected< std::pair< LVSectionIndex, object::SectionRef > > |
getSection (LVScope *Scope, LVAddress Address, LVSectionIndex SectionIndex) |
| void |
includeInlineeLines (LVSectionIndex SectionIndex, LVScope *Function) |
| Error |
createInstructions () |
| Error |
createInstructions (LVScope *Function, LVSectionIndex SectionIndex) |
| Error |
createInstructions (LVScope *Function, LVSectionIndex SectionIndex, const LVNameInfo &NameInfo) |
| void |
processLines (LVLines *DebugLines, LVSectionIndex SectionIndex) |
| void |
processLines (LVLines *DebugLines, LVSectionIndex SectionIndex, LVScope *Function) |
| Protected Member Functions inherited from llvm::logicalview::LVReader |
|
| void |
addSectionRange (LVSectionIndex SectionIndex, LVScope *Scope) |
| void |
addSectionRange (LVSectionIndex SectionIndex, LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress) |
| LVRange * |
getSectionRanges (LVSectionIndex SectionIndex) |
| void |
addCompileUnitOffset (LVOffset Offset, LVScopeCompileUnit *CompileUnit) |
| LVElement * |
createElement (dwarf::Tag Tag) |
| std::string |
createAlternativePath (StringRef From) |
| virtual Error |
printScopes () |
| virtual Error |
printMatchedElements (bool UseMatchedElements) |
Definition at line 33 of file LVDWARFReader.h.
| llvm::logicalview::LVDWARFReader::LVDWARFReader ( ) |
delete |
Referenced by LVDWARFReader(), and operator=().
◆ LVDWARFReader() [2/3]
◆ LVDWARFReader() [3/3]
References LVDWARFReader().
◆ ~LVDWARFReader()
| llvm::logicalview::LVDWARFReader::~LVDWARFReader ( ) |
overridedefault |
◆ createScopes()
| Error LVDWARFReader::createScopes ( ) |
overrideprotectedvirtual |
Reimplemented from llvm::logicalview::LVReader.
Definition at line 606 of file LVDWARFReader.cpp.
References llvm::logicalview::LVReader::addSectionRange(), llvm::c_str(), llvm::logicalview::LVRange::clear(), llvm::logicalview::LVReader::CompileUnit, llvm::dwarf::computeTombstoneAddress(), llvm::DWARFContext::create(), llvm::logicalview::LVReader::createAlternativePath(), llvm::logicalview::LVBinaryReader::createInstructions(), llvm::logicalview::LVReader::createScopes(), llvm::createStringError(), llvm::logicalview::LVBinaryReader::CULines, llvm::DWARFDebugLine::FileNameEntry::DirIdx, llvm::logicalview::LVReader::FileFormatName, llvm::DWARFDie::find(), llvm::DWARFDie::getDwarfUnit(), llvm::logicalview::LVReader::getFilename(), llvm::logicalview::LVBinaryReader::getSectionIndex(), llvm::logicalview::LVReader::getSectionRanges(), llvm::invalid_argument, llvm::DWARFUnit::isDWOUnit(), llvm::DWARFDie::isValid(), LLVM_DEBUG, llvm::logicalview::LVBinaryReader::mapVirtualAddress(), llvm::codeview::None, llvm::logicalview::LVBinaryReader::processLines(), llvm::DILineInfoSpecifier::RawValue, llvm::logicalview::LVReader::Root, setTombstoneAddress(), llvm::logicalview::LVRange::sort(), llvm::Error::success(), llvm::dwarf::toString(), and llvm::logicalview::LVReader::W.
◆ dump()
| void llvm::logicalview::LVDWARFReader::dump ( ) const |
inline |
◆ getCUBaseAddress()
| LVAddress llvm::logicalview::LVDWARFReader::getCUBaseAddress ( ) const |
inline |
◆ getCUHighAddress()
| LVAddress llvm::logicalview::LVDWARFReader::getCUHighAddress ( ) const |
inline |
◆ getRegisterName()
◆ GetSymbolsWithLocations()
| const LVSymbols & llvm::logicalview::LVDWARFReader::GetSymbolsWithLocations ( ) const |
inline |
◆ getTombstoneAddress()
| LVAddress llvm::logicalview::LVDWARFReader::getTombstoneAddress ( ) const |
inline |
◆ operator=()
References LVDWARFReader().
◆ print()
◆ setCUBaseAddress()
| void llvm::logicalview::LVDWARFReader::setCUBaseAddress ( LVAddress Address) |
inline |
◆ setCUHighAddress()
| void llvm::logicalview::LVDWARFReader::setCUHighAddress ( LVAddress Address) |
inline |
◆ setTombstoneAddress()
| void llvm::logicalview::LVDWARFReader::setTombstoneAddress ( LVAddress Address) |
inline |
◆ sortScopes()
| void LVDWARFReader::sortScopes ( ) |
overrideprotectedvirtual |
The documentation for this class was generated from the following files: