LLVM 17.0.0git
|
Represents a series of contiguous machine instructions. More...
#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"
Public Member Functions | |
Sequence () | |
void | reset () |
bool | isValid () const |
bool | containsPC (object::SectionedAddress PC) const |
Static Public Member Functions | |
static bool | orderByHighPC (const Sequence &LHS, const Sequence &RHS) |
Public Attributes | |
uint64_t | LowPC |
Sequence describes instructions at address range [LowPC, HighPC) and is described by line table rows [FirstRowIndex, LastRowIndex). | |
uint64_t | HighPC |
uint64_t | SectionIndex |
If relocation information is present then this is the index of the section which contains above addresses. | |
unsigned | FirstRowIndex |
unsigned | LastRowIndex |
bool | Empty |
Represents a series of contiguous machine instructions.
Line table for each compilation unit may consist of multiple sequences, which are not guaranteed to be in the order of ascending instruction address.
Definition at line 193 of file DWARFDebugLine.h.
DWARFDebugLine::Sequence::Sequence | ( | ) |
Definition at line 503 of file DWARFDebugLine.cpp.
|
inline |
Definition at line 219 of file DWARFDebugLine.h.
References llvm::object::SectionedAddress::Address, HighPC, LowPC, SectionIndex, and llvm::object::SectionedAddress::SectionIndex.
|
inline |
Definition at line 215 of file DWARFDebugLine.h.
References Empty, FirstRowIndex, HighPC, LastRowIndex, and LowPC.
|
inlinestatic |
Definition at line 210 of file DWARFDebugLine.h.
Referenced by llvm::DWARFDebugLine::LineTable::parse().
void DWARFDebugLine::Sequence::reset | ( | ) |
Definition at line 505 of file DWARFDebugLine.cpp.
References llvm::Empty, and llvm::object::SectionedAddress::UndefSection.
bool llvm::DWARFDebugLine::Sequence::Empty |
Definition at line 206 of file DWARFDebugLine.h.
Referenced by isValid().
unsigned llvm::DWARFDebugLine::Sequence::FirstRowIndex |
Definition at line 204 of file DWARFDebugLine.h.
Referenced by isValid().
uint64_t llvm::DWARFDebugLine::Sequence::HighPC |
Definition at line 199 of file DWARFDebugLine.h.
Referenced by containsPC(), and isValid().
unsigned llvm::DWARFDebugLine::Sequence::LastRowIndex |
Definition at line 205 of file DWARFDebugLine.h.
Referenced by isValid().
uint64_t llvm::DWARFDebugLine::Sequence::LowPC |
Sequence describes instructions at address range [LowPC, HighPC) and is described by line table rows [FirstRowIndex, LastRowIndex).
Definition at line 198 of file DWARFDebugLine.h.
Referenced by containsPC(), and isValid().
uint64_t llvm::DWARFDebugLine::Sequence::SectionIndex |
If relocation information is present then this is the index of the section which contains above addresses.
Otherwise this is object::SectionedAddress::Undef value.
Definition at line 203 of file DWARFDebugLine.h.
Referenced by containsPC().