Lines Matching refs:offset_ptr

117 DWARFFormValue::ExtractValue(const DataExtractor& data, lldb::offset_t* offset_ptr, const DWARFCompileUnit* cu)
128 case DW_FORM_addr: m_value.value.uval = data.GetMaxU64(offset_ptr, DWARFCompileUnit::GetAddressByteSize(cu)); break;
129 case DW_FORM_block2: m_value.value.uval = data.GetU16(offset_ptr); is_block = true; break;
130 case DW_FORM_block4: m_value.value.uval = data.GetU32(offset_ptr); is_block = true; break;
131 case DW_FORM_data2: m_value.value.uval = data.GetU16(offset_ptr); break;
132 case DW_FORM_data4: m_value.value.uval = data.GetU32(offset_ptr); break;
133 case DW_FORM_data8: m_value.value.uval = data.GetU64(offset_ptr); break;
134 case DW_FORM_string: m_value.value.cstr = data.GetCStr(offset_ptr);
140 case DW_FORM_block: m_value.value.uval = data.GetULEB128(offset_ptr); is_block = true; break;
141 case DW_FORM_block1: m_value.value.uval = data.GetU8(offset_ptr); is_block = true; break;
142 case DW_FORM_data1: m_value.value.uval = data.GetU8(offset_ptr); break;
143 case DW_FORM_flag: m_value.value.uval = data.GetU8(offset_ptr); break;
144 case DW_FORM_sdata: m_value.value.sval = data.GetSLEB128(offset_ptr); break;
145 case DW_FORM_strp: m_value.value.uval = data.GetU32(offset_ptr); break;
147 case DW_FORM_udata: m_value.value.uval = data.GetULEB128(offset_ptr); break;
150 m_value.value.uval = data.GetMaxU64(offset_ptr, DWARFCompileUnit::GetAddressByteSize(cu));
152 m_value.value.uval = data.GetU32(offset_ptr); // 4 for DWARF32, 8 for DWARF64, but we don't support DWARF64 yet
154 case DW_FORM_ref1: m_value.value.uval = data.GetU8(offset_ptr); break;
155 case DW_FORM_ref2: m_value.value.uval = data.GetU16(offset_ptr); break;
156 case DW_FORM_ref4: m_value.value.uval = data.GetU32(offset_ptr); break;
157 case DW_FORM_ref8: m_value.value.uval = data.GetU64(offset_ptr); break;
158 case DW_FORM_ref_udata: m_value.value.uval = data.GetULEB128(offset_ptr); break;
160 m_form = data.GetULEB128(offset_ptr);
164 case DW_FORM_sec_offset: m_value.value.uval = data.GetU32(offset_ptr); break;
166 case DW_FORM_ref_sig8: m_value.value.uval = data.GetU64(offset_ptr); break;
175 m_value.data = data.PeekData(*offset_ptr, m_value.value.uval);
178 *offset_ptr += m_value.value.uval;
186 DWARFFormValue::SkipValue(const DataExtractor& debug_info_data, lldb::offset_t *offset_ptr, const DWARFCompileUnit* cu) const
188 return DWARFFormValue::SkipValue(m_form, debug_info_data, offset_ptr, cu);
192 DWARFFormValue::SkipValue(dw_form_t form, const DataExtractor& debug_info_data, lldb::offset_t *offset_ptr, const DWARFCompileUnit* cu)
199 case DW_FORM_block: { dw_uleb128_t size = debug_info_data.GetULEB128(offset_ptr); *offset_ptr += size; } return true;
200 case DW_FORM_block1: { dw_uleb128_t size = debug_info_data.GetU8(offset_ptr); *offset_ptr += size; } return true;
201 case DW_FORM_block2: { dw_uleb128_t size = debug_info_data.GetU16(offset_ptr); *offset_ptr += size; } return true;
202 case DW_FORM_block4: { dw_uleb128_t size = debug_info_data.GetU32(offset_ptr); *offset_ptr += size; } return true;
206 debug_info_data.GetCStr(offset_ptr);
211 *offset_ptr += DWARFCompileUnit::GetAddressByteSize(cu);
216 *offset_ptr += DWARFCompileUnit::GetAddressByteSize(cu);
218 *offset_ptr += 4;// 4 for DWARF32, 8 for DWARF64, but we don't support DWARF64 yet
229 *offset_ptr += 1;
235 *offset_ptr += 2;
240 *offset_ptr += 4;
247 *offset_ptr += 4;
254 *offset_ptr += 8;
261 debug_info_data.Skip_LEB128(offset_ptr);
266 dw_form_t indirect_form = debug_info_data.GetULEB128(offset_ptr);
269 offset_ptr,