LLVM 22.0.0git
|
Represents a series of contiguous machine instructions. More...
#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"
Public Member Functions | |
LLVM_ABI | Sequence () |
LLVM_ABI 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 |
uint64_t | StmtSeqOffset = UINT64_MAX |
The offset into the line table where this sequence begins. |
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 198 of file DWARFDebugLine.h.
DWARFDebugLine::Sequence::Sequence | ( | ) |
Definition at line 525 of file DWARFDebugLine.cpp.
References reset().
Referenced by orderByHighPC().
|
inline |
Definition at line 227 of file DWARFDebugLine.h.
References llvm::object::SectionedAddress::Address, HighPC, LowPC, SectionIndex, and llvm::object::SectionedAddress::SectionIndex.
|
inline |
Definition at line 223 of file DWARFDebugLine.h.
References Empty, FirstRowIndex, HighPC, LastRowIndex, and LowPC.
|
inlinestatic |
Definition at line 218 of file DWARFDebugLine.h.
References LHS, RHS, and Sequence().
Referenced by llvm::DWARFDebugLine::LineTable::parse().
void DWARFDebugLine::Sequence::reset | ( | ) |
Definition at line 527 of file DWARFDebugLine.cpp.
References Empty, FirstRowIndex, HighPC, LastRowIndex, LowPC, SectionIndex, StmtSeqOffset, UINT64_MAX, and llvm::object::SectionedAddress::UndefSection.
Referenced by Sequence().
bool llvm::DWARFDebugLine::Sequence::Empty |
Definition at line 211 of file DWARFDebugLine.h.
unsigned llvm::DWARFDebugLine::Sequence::FirstRowIndex |
Definition at line 209 of file DWARFDebugLine.h.
Referenced by llvm::constructSeqOffsettoOrigRowMapping(), isValid(), and reset().
uint64_t llvm::DWARFDebugLine::Sequence::HighPC |
Definition at line 204 of file DWARFDebugLine.h.
Referenced by containsPC(), isValid(), and reset().
unsigned llvm::DWARFDebugLine::Sequence::LastRowIndex |
Definition at line 210 of file DWARFDebugLine.h.
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 203 of file DWARFDebugLine.h.
Referenced by containsPC(), isValid(), and reset().
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 208 of file DWARFDebugLine.h.
Referenced by containsPC(), and reset().
uint64_t llvm::DWARFDebugLine::Sequence::StmtSeqOffset = UINT64_MAX |
The offset into the line table where this sequence begins.
Definition at line 214 of file DWARFDebugLine.h.
Referenced by llvm::constructSeqOffsettoOrigRowMapping(), and reset().