LLVM  6.0.0svn
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:
Collaboration graph
[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 161 of file DWARFDebugLine.h.

Constructor & Destructor Documentation

◆ Sequence()

DWARFDebugLine::Sequence::Sequence ( )

Definition at line 316 of file DWARFDebugLine.cpp.

Member Function Documentation

◆ containsPC()

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

Definition at line 182 of file DWARFDebugLine.h.

Referenced by llvm::DWARFDebugLine::LineTable::parse().

◆ isValid()

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

Definition at line 178 of file DWARFDebugLine.h.

Referenced by llvm::DWARFDebugLine::LineTable::clear().

◆ orderByLowPC()

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

◆ reset()

void DWARFDebugLine::Sequence::reset ( )

Definition at line 318 of file DWARFDebugLine.cpp.

Referenced by llvm::DWARFDebugLine::LineTable::clear().

Member Data Documentation

◆ Empty

bool llvm::DWARFDebugLine::Sequence::Empty

Definition at line 170 of file DWARFDebugLine.h.

Referenced by llvm::DWARFDebugLine::LineTable::clear().

◆ FirstRowIndex

unsigned llvm::DWARFDebugLine::Sequence::FirstRowIndex

◆ HighPC

uint64_t llvm::DWARFDebugLine::Sequence::HighPC

Definition at line 167 of file DWARFDebugLine.h.

Referenced by llvm::DWARFDebugLine::LineTable::clear().

◆ LastRowIndex

unsigned llvm::DWARFDebugLine::Sequence::LastRowIndex

◆ LowPC

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

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


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