Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
bloaty::dwarf::LineInfoReader Class Reference

#include <line_info.h>

Classes

struct  FileName
 
struct  LineInfo
 
struct  Params
 

Public Member Functions

const FileNamefilename (size_t i) const
 
const std::string & GetExpandedFilename (size_t index)
 
absl::string_view include_directory (size_t i) const
 
const LineInfolineinfo () const
 
 LineInfoReader (const File &file)
 
bool ReadLineInfo ()
 
void SeekToOffset (uint64_t offset, uint8_t address_size)
 

Private Member Functions

uint8_t AdjustedOpcode (uint8_t op)
 
void Advance (uint64_t amount)
 
void DoAdvance (uint64_t advance, uint8_t max_per_instr)
 
void SpecialOpcodeAdvance (uint8_t op)
 

Private Attributes

std::vector< std::string > expanded_filenames_
 
const Filefile_
 
std::vector< FileNamefilenames_
 
std::vector< absl::string_viewinclude_directories_
 
LineInfo info_
 
struct bloaty::dwarf::LineInfoReader::Params params_
 
absl::string_view remaining_
 
bool shadow_
 
CompilationUnitSizes sizes_
 
std::vector< uint8_tstandard_opcode_lengths_
 

Detailed Description

Definition at line 39 of file line_info.h.

Constructor & Destructor Documentation

◆ LineInfoReader()

bloaty::dwarf::LineInfoReader::LineInfoReader ( const File file)
inline

Definition at line 41 of file line_info.h.

Member Function Documentation

◆ AdjustedOpcode()

uint8_t bloaty::dwarf::LineInfoReader::AdjustedOpcode ( uint8_t  op)
private

Definition at line 72 of file line_info.cc.

◆ Advance()

void bloaty::dwarf::LineInfoReader::Advance ( uint64_t  amount)
private

Definition at line 52 of file line_info.cc.

◆ DoAdvance()

void bloaty::dwarf::LineInfoReader::DoAdvance ( uint64_t  advance,
uint8_t  max_per_instr 
)
private

Definition at line 62 of file line_info.cc.

◆ filename()

const FileName& bloaty::dwarf::LineInfoReader::filename ( size_t  i) const
inline

Definition at line 69 of file line_info.h.

◆ GetExpandedFilename()

const std::string & bloaty::dwarf::LineInfoReader::GetExpandedFilename ( size_t  index)

Definition at line 29 of file line_info.cc.

◆ include_directory()

absl::string_view bloaty::dwarf::LineInfoReader::include_directory ( size_t  i) const
inline

Definition at line 70 of file line_info.h.

◆ lineinfo()

const LineInfo& bloaty::dwarf::LineInfoReader::lineinfo ( ) const
inline

Definition at line 68 of file line_info.h.

◆ ReadLineInfo()

bool bloaty::dwarf::LineInfoReader::ReadLineInfo ( )

Definition at line 150 of file line_info.cc.

◆ SeekToOffset()

void bloaty::dwarf::LineInfoReader::SeekToOffset ( uint64_t  offset,
uint8_t  address_size 
)

Definition at line 76 of file line_info.cc.

◆ SpecialOpcodeAdvance()

void bloaty::dwarf::LineInfoReader::SpecialOpcodeAdvance ( uint8_t  op)
private

Definition at line 68 of file line_info.cc.

Member Data Documentation

◆ expanded_filenames_

std::vector<std::string> bloaty::dwarf::LineInfoReader::expanded_filenames_
private

Definition at line 92 of file line_info.h.

◆ file_

const File& bloaty::dwarf::LineInfoReader::file_
private

Definition at line 86 of file line_info.h.

◆ filenames_

std::vector<FileName> bloaty::dwarf::LineInfoReader::filenames_
private

Definition at line 90 of file line_info.h.

◆ include_directories_

std::vector<absl::string_view> bloaty::dwarf::LineInfoReader::include_directories_
private

Definition at line 89 of file line_info.h.

◆ info_

LineInfo bloaty::dwarf::LineInfoReader::info_
private

Definition at line 107 of file line_info.h.

◆ params_

struct bloaty::dwarf::LineInfoReader::Params bloaty::dwarf::LineInfoReader::params_
private

◆ remaining_

absl::string_view bloaty::dwarf::LineInfoReader::remaining_
private

Definition at line 94 of file line_info.h.

◆ shadow_

bool bloaty::dwarf::LineInfoReader::shadow_
private

Definition at line 105 of file line_info.h.

◆ sizes_

CompilationUnitSizes bloaty::dwarf::LineInfoReader::sizes_
private

Definition at line 88 of file line_info.h.

◆ standard_opcode_lengths_

std::vector<uint8_t> bloaty::dwarf::LineInfoReader::standard_opcode_lengths_
private

Definition at line 91 of file line_info.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:58