Lines Matching refs:offset_ptr

404 DWARFDebugLine::ParsePrologue(const DataExtractor& debug_line_data, lldb::offset_t* offset_ptr, Prologue* prologue)
406 const lldb::offset_t prologue_offset = *offset_ptr;
408 //DEBUG_PRINTF("0x%8.8x: ParsePrologue()\n", *offset_ptr);
413 prologue->total_length = debug_line_data.GetU32(offset_ptr);
414 prologue->version = debug_line_data.GetU16(offset_ptr);
418 prologue->prologue_length = debug_line_data.GetU32(offset_ptr);
419 const lldb::offset_t end_prologue_offset = prologue->prologue_length + *offset_ptr;
420 prologue->min_inst_length = debug_line_data.GetU8(offset_ptr);
421 prologue->default_is_stmt = debug_line_data.GetU8(offset_ptr);
422 prologue->line_base = debug_line_data.GetU8(offset_ptr);
423 prologue->line_range = debug_line_data.GetU8(offset_ptr);
424 prologue->opcode_base = debug_line_data.GetU8(offset_ptr);
430 uint8_t op_len = debug_line_data.GetU8(offset_ptr);
434 while (*offset_ptr < end_prologue_offset)
436 s = debug_line_data.GetCStr(offset_ptr);
443 while (*offset_ptr < end_prologue_offset)
445 const char* name = debug_line_data.GetCStr( offset_ptr );
450 fileEntry.dir_idx = debug_line_data.GetULEB128( offset_ptr );
451 fileEntry.mod_time = debug_line_data.GetULEB128( offset_ptr );
452 fileEntry.length = debug_line_data.GetULEB128( offset_ptr );
459 if (*offset_ptr != end_prologue_offset)
465 *offset_ptr);
576 lldb::offset_t* offset_ptr,
585 const dw_offset_t debug_line_offset = *offset_ptr;
591 if (!ParsePrologue(debug_line_data, offset_ptr, prologue.get()))
596 *offset_ptr = debug_line_offset;
607 while (*offset_ptr < end_offset)
609 //DEBUG_PRINTF("0x%8.8x: ", *offset_ptr);
610 uint8_t opcode = debug_line_data.GetU8(offset_ptr);
616 lldb::offset_t ext_offset = *offset_ptr;
617 dw_uleb128_t len = debug_line_data.GetULEB128(offset_ptr);
618 dw_offset_t arg_size = len - (*offset_ptr - ext_offset);
621 uint8_t sub_opcode = debug_line_data.GetU8(offset_ptr);
633 state.AppendRowToMatrix(*offset_ptr);
644 state.address = debug_line_data.GetAddress(offset_ptr);
669 fileEntry.name = debug_line_data.GetCStr(offset_ptr);
670 fileEntry.dir_idx = debug_line_data.GetULEB128(offset_ptr);
671 fileEntry.mod_time = debug_line_data.GetULEB128(offset_ptr);
672 fileEntry.length = debug_line_data.GetULEB128(offset_ptr);
680 (*offset_ptr) += arg_size;
693 state.AppendRowToMatrix(*offset_ptr);
700 state.address += debug_line_data.GetULEB128(offset_ptr) * prologue->min_inst_length;
706 state.line += debug_line_data.GetSLEB128(offset_ptr);
712 state.file = debug_line_data.GetULEB128(offset_ptr);
718 state.column = debug_line_data.GetULEB128(offset_ptr);
762 state.address += debug_line_data.GetU16(offset_ptr);
780 state.isa = debug_line_data.GetULEB128(offset_ptr);
792 debug_line_data.Skip_LEB128(offset_ptr);
835 state.AppendRowToMatrix(*offset_ptr);
839 state.Finalize( *offset_ptr );
876 DWARFDebugLine::ParseStatementTable(const DataExtractor& debug_line_data, lldb::offset_t *offset_ptr, LineTable* line_table)
878 return ParseStatementTable(debug_line_data, offset_ptr, ParseStatementTableCallback, line_table);