LLVM API Documentation
#include <DWARFDebugLine.h>
Public Types | |
typedef std::vector< Row > | RowVector |
typedef RowVector::const_iterator | RowIter |
typedef std::vector< Sequence > | SequenceVector |
typedef SequenceVector::const_iterator | SequenceIter |
Public Member Functions | |
void | appendRow (const DWARFDebugLine::Row &state) |
void | appendSequence (const DWARFDebugLine::Sequence &sequence) |
void | clear () |
uint32_t | lookupAddress (uint64_t address) const |
bool | lookupAddressRange (uint64_t address, uint64_t size, std::vector< uint32_t > &result) const |
bool | getFileNameByIndex (uint64_t FileIndex, bool NeedsAbsoluteFilePath, std::string &Result) const |
void | dump (raw_ostream &OS) const |
Public Attributes | |
struct Prologue | Prologue |
RowVector | Rows |
SequenceVector | Sequences |
Definition at line 166 of file DWARFDebugLine.h.
typedef RowVector::const_iterator llvm::DWARFDebugLine::LineTable::RowIter |
Definition at line 195 of file DWARFDebugLine.h.
typedef std::vector<Row> llvm::DWARFDebugLine::LineTable::RowVector |
Definition at line 194 of file DWARFDebugLine.h.
typedef SequenceVector::const_iterator llvm::DWARFDebugLine::LineTable::SequenceIter |
Definition at line 197 of file DWARFDebugLine.h.
typedef std::vector<Sequence> llvm::DWARFDebugLine::LineTable::SequenceVector |
Definition at line 196 of file DWARFDebugLine.h.
|
inline |
Definition at line 167 of file DWARFDebugLine.h.
References Rows.
|
inline |
Definition at line 168 of file DWARFDebugLine.h.
References Sequences.
|
inline |
Definition at line 171 of file DWARFDebugLine.h.
References llvm::DWARFDebugLine::Prologue::clear(), Rows, and Sequences.
void DWARFDebugLine::LineTable::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 83 of file DWARFDebugLine.cpp.
References llvm::DWARFDebugLine::Prologue::dump(), llvm::sys::path::const_iterator::end, and llvm::sys::path::end().
bool DWARFDebugLine::LineTable::getFileNameByIndex | ( | uint64_t | FileIndex, |
bool | NeedsAbsoluteFilePath, | ||
std::string & | Result | ||
) | const |
Definition at line 605 of file DWARFDebugLine.cpp.
References llvm::sys::path::append(), llvm::DWARFDebugLine::FileNameEntry::DirIdx, llvm::DWARFDebugLine::Prologue::FileNames, llvm::DWARFDebugLine::Prologue::IncludeDirectories, llvm::sys::path::is_absolute(), llvm::DWARFDebugLine::FileNameEntry::Name, and llvm::SmallString< InternalLen >::str().
Referenced by getFileNameForCompileUnit().
uint32_t DWARFDebugLine::LineTable::lookupAddress | ( | uint64_t | address | ) | const |
Definition at line 482 of file DWARFDebugLine.cpp.
References llvm::DWARFDebugLine::Row::Address, llvm::DWARFDebugLine::Sequence::containsPC(), llvm::DWARFDebugLine::Sequence::FirstRowIndex, llvm::DWARFDebugLine::Sequence::LastRowIndex, llvm::DWARFDebugLine::Sequence::LowPC, llvm::DWARFDebugLine::Row::orderByAddress(), and llvm::DWARFDebugLine::Sequence::orderByLowPC().
Referenced by getFileLineInfoForCompileUnit().
bool DWARFDebugLine::LineTable::lookupAddressRange | ( | uint64_t | address, |
uint64_t | size, | ||
std::vector< uint32_t > & | result | ||
) | const |
Definition at line 528 of file DWARFDebugLine.cpp.
References llvm::DWARFDebugLine::Row::Address, llvm::DWARFDebugLine::Sequence::FirstRowIndex, llvm::DWARFDebugLine::Sequence::HighPC, llvm::DWARFDebugLine::Sequence::LastRowIndex, llvm::DWARFDebugLine::Sequence::LowPC, llvm::DWARFDebugLine::Row::orderByAddress(), and llvm::DWARFDebugLine::Sequence::orderByLowPC().
Referenced by llvm::DWARFContext::getLineInfoForAddressRange().
struct Prologue llvm::DWARFDebugLine::LineTable::Prologue |
Definition at line 193 of file DWARFDebugLine.h.
Referenced by llvm::DWARFDebugLine::parseStatementTable().
RowVector llvm::DWARFDebugLine::LineTable::Rows |
Definition at line 198 of file DWARFDebugLine.h.
Referenced by appendRow(), clear(), getFileLineInfoForCompileUnit(), and llvm::DWARFContext::getLineInfoForAddressRange().
SequenceVector llvm::DWARFDebugLine::LineTable::Sequences |
Definition at line 199 of file DWARFDebugLine.h.
Referenced by appendSequence(), and clear().