LLVM  9.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 (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). More...
 
uint64_t HighPC
 
uint64_t SectionIndex
 If relocation information is present then this is the index of the section which contains above addresses. More...
 
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 192 of file DWARFDebugLine.h.

Constructor & Destructor Documentation

◆ Sequence()

DWARFDebugLine::Sequence::Sequence ( )

Definition at line 386 of file DWARFDebugLine.cpp.

Member Function Documentation

◆ containsPC()

bool llvm::DWARFDebugLine::Sequence::containsPC ( object::SectionedAddress  PC) const
inline

◆ isValid()

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

Definition at line 214 of file DWARFDebugLine.h.

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

◆ orderByHighPC()

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

◆ reset()

void DWARFDebugLine::Sequence::reset ( )

Member Data Documentation

◆ Empty

bool llvm::DWARFDebugLine::Sequence::Empty

Definition at line 205 of file DWARFDebugLine.h.

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

◆ FirstRowIndex

unsigned llvm::DWARFDebugLine::Sequence::FirstRowIndex

◆ HighPC

uint64_t llvm::DWARFDebugLine::Sequence::HighPC

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

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

◆ SectionIndex

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

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


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