LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::DWARFDebugLine::Prologue Struct Reference

#include <DWARFDebugLine.h>

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

Public Member Functions

 Prologue ()
 
uint32_t sizeofTotalLength () const
 
uint32_t sizeofPrologueLength () const
 
uint32_t getLength () const
 
uint32_t getStatementTableLength () const
 
int32_t getMaxLineIncrementForSpecialOpcode () const
 
void clear ()
 
void dump (raw_ostream &OS) const
 
bool parse (DataExtractor debug_line_data, uint32_t *offset_ptr)
 

Public Attributes

uint64_t TotalLength
 
uint16_t Version
 
uint64_t PrologueLength
 
uint8_t MinInstLength
 
uint8_t MaxOpsPerInst
 
uint8_t DefaultIsStmt
 
int8_t LineBase
 
uint8_t LineRange
 
uint8_t OpcodeBase
 
std::vector< uint8_t > StandardOpcodeLengths
 
std::vector< const char * > IncludeDirectories
 
std::vector< FileNameEntryFileNames
 
bool IsDWARF64
 

Detailed Description

Definition at line 36 of file DWARFDebugLine.h.

Constructor & Destructor Documentation

DWARFDebugLine::Prologue::Prologue ( )

Definition at line 20 of file DWARFDebugLine.cpp.

References clear().

Member Function Documentation

void DWARFDebugLine::Prologue::clear ( )
void DWARFDebugLine::Prologue::dump ( raw_ostream OS) const
uint32_t llvm::DWARFDebugLine::Prologue::getLength ( ) const
inline

Definition at line 75 of file DWARFDebugLine.h.

References PrologueLength, sizeofPrologueLength(), sizeofTotalLength(), and Version.

Referenced by getStatementTableLength().

int32_t llvm::DWARFDebugLine::Prologue::getMaxLineIncrementForSpecialOpcode ( ) const
inline

Definition at line 83 of file DWARFDebugLine.h.

References LineBase, and LineRange.

uint32_t llvm::DWARFDebugLine::Prologue::getStatementTableLength ( ) const
inline

Definition at line 80 of file DWARFDebugLine.h.

References getLength(), sizeofTotalLength(), and TotalLength.

bool DWARFDebugLine::Prologue::parse ( DataExtractor  debug_line_data,
uint32_t offset_ptr 
)
uint32_t llvm::DWARFDebugLine::Prologue::sizeofPrologueLength ( ) const
inline

Definition at line 70 of file DWARFDebugLine.h.

References IsDWARF64.

Referenced by getLength().

uint32_t llvm::DWARFDebugLine::Prologue::sizeofTotalLength ( ) const
inline

Member Data Documentation

uint8_t llvm::DWARFDebugLine::Prologue::DefaultIsStmt

Definition at line 55 of file DWARFDebugLine.h.

std::vector<FileNameEntry> llvm::DWARFDebugLine::Prologue::FileNames
std::vector<const char*> llvm::DWARFDebugLine::Prologue::IncludeDirectories
bool llvm::DWARFDebugLine::Prologue::IsDWARF64

Definition at line 66 of file DWARFDebugLine.h.

Referenced by sizeofPrologueLength(), and sizeofTotalLength().

int8_t llvm::DWARFDebugLine::Prologue::LineBase
uint8_t llvm::DWARFDebugLine::Prologue::LineRange
uint8_t llvm::DWARFDebugLine::Prologue::MaxOpsPerInst

Definition at line 53 of file DWARFDebugLine.h.

uint8_t llvm::DWARFDebugLine::Prologue::MinInstLength

Definition at line 50 of file DWARFDebugLine.h.

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

uint8_t llvm::DWARFDebugLine::Prologue::OpcodeBase

Definition at line 61 of file DWARFDebugLine.h.

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

uint64_t llvm::DWARFDebugLine::Prologue::PrologueLength

Definition at line 46 of file DWARFDebugLine.h.

Referenced by getLength().

std::vector<uint8_t> llvm::DWARFDebugLine::Prologue::StandardOpcodeLengths

Definition at line 62 of file DWARFDebugLine.h.

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

uint64_t llvm::DWARFDebugLine::Prologue::TotalLength
uint16_t llvm::DWARFDebugLine::Prologue::Version

Definition at line 43 of file DWARFDebugLine.h.

Referenced by getLength().


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