HPCToolkit
LineMap Class Reference

#include <Linemap.hpp>

Collaboration diagram for LineMap:

Public Member Functions

 LineMap ()
 
void readFile (ElfFile *elf)
 
void getLineRange (VMA, LineRange &)
 

Private Member Functions

void do_line_map (Dwarf_Debug, Dwarf_Die)
 
void do_comp_unit (Dwarf_Debug, int, int, long, long)
 
void do_dwarf (ElfFile *elf)
 

Private Attributes

InternalLineMap m_line_map
 
HPC::StringTable m_str_tab
 
uint m_empty_index
 

Detailed Description

Definition at line 102 of file Linemap.hpp.

Constructor & Destructor Documentation

◆ LineMap()

LineMap::LineMap ( )

Definition at line 275 of file Linemap.cpp.

Member Function Documentation

◆ do_comp_unit()

void LineMap::do_comp_unit ( Dwarf_Debug  dw_dbg,
int  num,
int  vers,
long  hdr_len,
long  hdr_off 
)
private

Definition at line 212 of file Linemap.cpp.

◆ do_dwarf()

void LineMap::do_dwarf ( ElfFile elf)
private

Definition at line 229 of file Linemap.cpp.

Here is the call graph for this function:

◆ do_line_map()

void LineMap::do_line_map ( Dwarf_Debug  dw_dbg,
Dwarf_Die  dw_die 
)
private

Definition at line 109 of file Linemap.cpp.

◆ getLineRange()

void LineMap::getLineRange ( VMA  vma,
LineRange lr 
)

Definition at line 307 of file Linemap.cpp.

◆ readFile()

void LineMap::readFile ( ElfFile elf)

Definition at line 288 of file Linemap.cpp.

Member Data Documentation

◆ m_empty_index

uint LineMap::m_empty_index
private

Definition at line 106 of file Linemap.hpp.

◆ m_line_map

InternalLineMap LineMap::m_line_map
private

Definition at line 104 of file Linemap.hpp.

◆ m_str_tab

HPC::StringTable LineMap::m_str_tab
private

Definition at line 105 of file Linemap.hpp.


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