LLDB mainline
lldb_private::LineTable::Entry Struct Reference

#include <LineTable.h>

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 = LLDB_INVALID_ADDRESS
 The file address for this line entry.
uint32_t line: 27
 The source line number, or zero if there is no line number information.
uint32_t is_start_of_statement: 1
 Indicates this entry is the beginning of a statement.
uint32_t is_start_of_basic_block: 1
 Indicates this entry is the beginning of a basic block.
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.
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.
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.
uint16_t column = 0
 The column number of the source line, or zero if there is no column information.
uint16_t file_idx = 0
 The file index into CompileUnit's file table, or zero if there is no file information.

Detailed Description

Definition at line 205 of file LineTable.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

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

◆ 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

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

◆ Compare()

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

◆ EntryAddressLessThan()

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

Definition at line 259 of file LineTable.h.

References Entry(), and file_addr.

Member Data Documentation

◆ column

uint16_t lldb_private::LineTable::Entry::column = 0

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

Definition at line 284 of file LineTable.h.

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

◆ file_addr

◆ file_idx

uint16_t lldb_private::LineTable::Entry::file_idx = 0

◆ 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 278 of file LineTable.h.

Referenced by Clear(), Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), Entry(), Entry(), and lldb_private::LineTable::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 275 of file LineTable.h.

Referenced by lldb_private::LineTable::AppendLineEntryToSequence(), Clear(), Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), Entry(), Entry(), and lldb_private::LineTable::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 272 of file LineTable.h.

Referenced by Clear(), Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), Entry(), Entry(), and lldb_private::LineTable::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 270 of file LineTable.h.

Referenced by Clear(), Compare(), lldb_private::LineTable::ConvertEntryAtIndexToLineEntry(), Entry(), Entry(), and lldb_private::LineTable::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 268 of file LineTable.h.

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


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