LLVM API Documentation
#include <DWARFDebugLine.h>
Public Member Functions | |
Prologue () | |
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 | |
uint32_t | TotalLength |
uint16_t | Version |
uint32_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< FileNameEntry > | FileNames |
Definition at line 36 of file DWARFDebugLine.h.
Definition at line 20 of file DWARFDebugLine.cpp.
void DWARFDebugLine::Prologue::clear | ( | ) |
Definition at line 24 of file DWARFDebugLine.cpp.
References llvm::IndexedInstrProf::Version.
Referenced by llvm::DWARFDebugLine::LineTable::clear().
void DWARFDebugLine::Prologue::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 33 of file DWARFDebugLine.cpp.
References llvm::DWARFDebugLine::FileNameEntry::DirIdx, llvm::format(), llvm::DWARFDebugLine::FileNameEntry::Length, llvm::dwarf::LNStandardString(), llvm::DWARFDebugLine::FileNameEntry::ModTime, llvm::DWARFDebugLine::FileNameEntry::Name, and llvm::IndexedInstrProf::Version.
Referenced by llvm::DWARFDebugLine::LineTable::dump().
uint32_t llvm::DWARFDebugLine::Prologue::getLength | ( | ) | const [inline] |
Definition at line 67 of file DWARFDebugLine.h.
References PrologueLength, TotalLength, and Version.
Referenced by getStatementTableLength().
int32_t llvm::DWARFDebugLine::Prologue::getMaxLineIncrementForSpecialOpcode | ( | ) | const [inline] |
Definition at line 75 of file DWARFDebugLine.h.
uint32_t llvm::DWARFDebugLine::Prologue::getStatementTableLength | ( | ) | const [inline] |
Definition at line 72 of file DWARFDebugLine.h.
References getLength(), and TotalLength.
bool DWARFDebugLine::Prologue::parse | ( | DataExtractor | debug_line_data, |
uint32_t * | offset_ptr | ||
) |
Definition at line 68 of file DWARFDebugLine.cpp.
References llvm::DWARFDebugLine::FileNameEntry::DirIdx, llvm::LibFunc::fprintf, llvm::DataExtractor::getCStr(), llvm::DataExtractor::getU16(), llvm::DataExtractor::getU32(), llvm::DataExtractor::getU8(), llvm::DataExtractor::getULEB128(), llvm::DWARFDebugLine::FileNameEntry::Length, llvm::DWARFDebugLine::FileNameEntry::ModTime, llvm::DWARFDebugLine::FileNameEntry::Name, and llvm::IndexedInstrProf::Version.
Referenced by llvm::DWARFContext::dump(), and llvm::DWARFDebugLine::LineTable::parse().
Definition at line 55 of file DWARFDebugLine.h.
std::vector<FileNameEntry> llvm::DWARFDebugLine::Prologue::FileNames |
Definition at line 64 of file DWARFDebugLine.h.
Referenced by llvm::DWARFDebugLine::LineTable::getFileNameByIndex(), and llvm::DWARFDebugLine::LineTable::parse().
std::vector<const char*> llvm::DWARFDebugLine::Prologue::IncludeDirectories |
Definition at line 63 of file DWARFDebugLine.h.
Referenced by llvm::DWARFDebugLine::LineTable::getFileNameByIndex().
Definition at line 57 of file DWARFDebugLine.h.
Referenced by getMaxLineIncrementForSpecialOpcode(), and llvm::DWARFDebugLine::LineTable::parse().
Definition at line 59 of file DWARFDebugLine.h.
Referenced by getMaxLineIncrementForSpecialOpcode(), and llvm::DWARFDebugLine::LineTable::parse().
Definition at line 53 of file DWARFDebugLine.h.
Definition at line 50 of file DWARFDebugLine.h.
Referenced by llvm::DWARFDebugLine::LineTable::parse().
Definition at line 61 of file DWARFDebugLine.h.
Referenced by llvm::DWARFDebugLine::LineTable::parse().
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().
Definition at line 41 of file DWARFDebugLine.h.
Referenced by getLength(), getStatementTableLength(), and llvm::DWARFDebugLine::LineTable::parse().
Definition at line 43 of file DWARFDebugLine.h.
Referenced by getLength().