LLDB  mainline
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
lldb_private::LineTable::Entry Struct Reference

#include <LineTable.h>

Collaboration diagram for lldb_private::LineTable::Entry:
Collaboration graph
[legend]

Classes

class  LessThanBinaryPredicate
 

Public Member Functions

 Entry ()
 
 Entry (lldb::addr_t _file_addr, uint32_t _line, uint16_t _column, uint16_t _file_idx, bool _is_start_of_statement, bool _is_start_of_basic_block, bool _is_prologue_end, bool _is_epilogue_begin, bool _is_terminal_entry)
 
int bsearch_compare (const void *key, const void *arrmem)
 
void Clear ()
 

Static Public Member Functions

static int Compare (const Entry &lhs, const Entry &rhs)
 
static bool EntryAddressLessThan (const Entry &lhs, const Entry &rhs)
 

Public Attributes

lldb::addr_t file_addr
 The file address for this line entry. More...
 
uint32_t line: 27
 The source line number, or zero if there is no line number information. More...
 
uint32_t is_start_of_statement: 1
 Indicates this entry is the beginning of a statement. More...
 
uint32_t is_start_of_basic_block: 1
 Indicates this entry is the beginning of a basic block. More...
 
uint32_t is_prologue_end: 1
 Indicates this entry is one (of possibly many) where execution should be suspended for an entry breakpoint of a function. More...
 
uint32_t is_epilogue_begin: 1
 Indicates this entry is one (of possibly many) where execution should be suspended for an exit breakpoint of a function. More...
 
uint32_t is_terminal_entry: 1
 Indicates this entry is that of the first byte after the end of a sequence of target machine instructions. More...
 
uint16_t column
 The column number of the source line, or zero if there is no column information. More...
 
uint16_t file_idx
 The file index into CompileUnit's file table, or zero if there is no file information. More...
 

Detailed Description

Definition at line 212 of file LineTable.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

lldb_private::LineTable::Entry::Entry ( )
inline

Definition at line 213 of file LineTable.h.

◆ Entry() [2/2]

lldb_private::LineTable::Entry::Entry ( lldb::addr_t  _file_addr,
uint32_t  _line,
uint16_t  _column,
uint16_t  _file_idx,
bool  _is_start_of_statement,
bool  _is_start_of_basic_block,
bool  _is_prologue_end,
bool  _is_epilogue_begin,
bool  _is_terminal_entry 
)
inline

Definition at line 219 of file LineTable.h.

Member Function Documentation

◆ bsearch_compare()

int lldb_private::LineTable::Entry::bsearch_compare ( const void *  key,
const void *  arrmem 
)

◆ Clear()

void lldb_private::LineTable::Entry::Clear ( )
inline

Definition at line 233 of file LineTable.h.

References LLDB_INVALID_ADDRESS.

◆ Compare()

static int lldb_private::LineTable::Entry::Compare ( const Entry lhs,
const Entry rhs 
)
inlinestatic

◆ EntryAddressLessThan()

static bool lldb_private::LineTable::Entry::EntryAddressLessThan ( const Entry lhs,
const Entry rhs 
)
inlinestatic

Member Data Documentation

◆ column

uint16_t lldb_private::LineTable::Entry::column

The column number of the source line, or zero if there is no column information.

Definition at line 303 of file LineTable.h.

Referenced by Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), and lldb_private::LineTable::Entry::LessThanBinaryPredicate::operator()().

◆ file_addr

lldb::addr_t lldb_private::LineTable::Entry::file_addr

◆ file_idx

uint16_t lldb_private::LineTable::Entry::file_idx

◆ is_epilogue_begin

uint32_t lldb_private::LineTable::Entry::is_epilogue_begin

Indicates this entry is one (of possibly many) where execution should be suspended for an exit breakpoint of a function.

Definition at line 297 of file LineTable.h.

Referenced by Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), and lldb_private::LineTable::Entry::LessThanBinaryPredicate::operator()().

◆ is_prologue_end

uint32_t lldb_private::LineTable::Entry::is_prologue_end

Indicates this entry is one (of possibly many) where execution should be suspended for an entry breakpoint of a function.

Definition at line 294 of file LineTable.h.

Referenced by lldb_private::LineTable::AppendLineEntryToSequence(), Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), and lldb_private::LineTable::Entry::LessThanBinaryPredicate::operator()().

◆ is_start_of_basic_block

uint32_t lldb_private::LineTable::Entry::is_start_of_basic_block

Indicates this entry is the beginning of a basic block.

Definition at line 291 of file LineTable.h.

Referenced by Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), and lldb_private::LineTable::Entry::LessThanBinaryPredicate::operator()().

◆ is_start_of_statement

uint32_t lldb_private::LineTable::Entry::is_start_of_statement

Indicates this entry is the beginning of a statement.

Definition at line 289 of file LineTable.h.

Referenced by Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), and lldb_private::LineTable::Entry::LessThanBinaryPredicate::operator()().

◆ is_terminal_entry

uint32_t lldb_private::LineTable::Entry::is_terminal_entry

◆ line

uint32_t lldb_private::LineTable::Entry::line

The source line number, or zero if there is no line number information.

Definition at line 287 of file LineTable.h.

Referenced by Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), and lldb_private::LineTable::Entry::LessThanBinaryPredicate::operator()().


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