LLVM  5.0.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::DWARFDebugLine::Sequence Struct Reference

Represents a series of contiguous machine instructions. More...

#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"

Collaboration diagram for llvm::DWARFDebugLine::Sequence:
[legend]

Public Member Functions

 Sequence ()
 
void reset ()
 
bool isValid () const
 
bool containsPC (uint64_t PC) const
 

Static Public Member Functions

static bool orderByLowPC (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). More...
 
uint64_t HighPC
 
unsigned FirstRowIndex
 
unsigned LastRowIndex
 
bool Empty
 

Detailed Description

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 159 of file DWARFDebugLine.h.

Constructor & Destructor Documentation

DWARFDebugLine::Sequence::Sequence ( )

Definition at line 315 of file DWARFDebugLine.cpp.

Member Function Documentation

bool llvm::DWARFDebugLine::Sequence::containsPC ( uint64_t  PC) const
inline

Definition at line 180 of file DWARFDebugLine.h.

References HighPC, and LowPC.

bool llvm::DWARFDebugLine::Sequence::isValid ( ) const
inline

Definition at line 176 of file DWARFDebugLine.h.

References Empty, FirstRowIndex, HighPC, LastRowIndex, and LowPC.

static bool llvm::DWARFDebugLine::Sequence::orderByLowPC ( const Sequence &  LHS,
const Sequence &  RHS 
)
inlinestatic
void DWARFDebugLine::Sequence::reset ( )

Definition at line 317 of file DWARFDebugLine.cpp.

Member Data Documentation

bool llvm::DWARFDebugLine::Sequence::Empty

Definition at line 168 of file DWARFDebugLine.h.

Referenced by isValid().

unsigned llvm::DWARFDebugLine::Sequence::FirstRowIndex
uint64_t llvm::DWARFDebugLine::Sequence::HighPC

Definition at line 165 of file DWARFDebugLine.h.

Referenced by containsPC(), and isValid().

unsigned llvm::DWARFDebugLine::Sequence::LastRowIndex
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 164 of file DWARFDebugLine.h.

Referenced by containsPC(), isValid(), llvm::DWARFDebugLine::LineTable::lookupAddress(), llvm::DWARFDebugLine::LineTable::lookupAddressRange(), and orderByLowPC().


The documentation for this struct was generated from the following files: