Home | History | Annotate | Download | only in debug

Lines Matching refs:info_

116       info_(Is64BitInstructionSet(owner_->builder_->GetIsa()), &owner->debug_abbrev_) {
127 info_.StartTag(DW_TAG_compile_unit);
128 info_.WriteString(DW_AT_producer, "Android dex2oat");
129 info_.WriteData1(DW_AT_language, DW_LANG_Java);
130 info_.WriteString(DW_AT_comp_dir, "$JAVA_SRC_ROOT");
131 info_.WriteAddr(DW_AT_low_pc, base_address + compilation_unit.code_address);
132 info_.WriteUdata(DW_AT_high_pc, dchecked_integral_cast<uint32_t>(cu_size));
133 info_.WriteSecOffset(DW_AT_stmt_list, compilation_unit.debug_line_offset);
152 size_t reference_tag_offset = info_.StartTag(DW_TAG_reference_type);
154 size_t type_attrib_offset = info_.size();
155 info_.WriteRef4(DW_AT_type, 0);
156 info_.EndTag();
159 info_.UpdateUint32(type_attrib_offset, class_offset);
160 info_.WriteFlagPresent(DW_AT_declaration);
167 int start_depth = info_.Depth();
168 info_.StartTag(DW_TAG_subprogram);
170 info_.WriteAddr(DW_AT_low_pc, base_address + mi->code_address);
171 info_.WriteUdata(DW_AT_high_pc, mi->code_size);
175 info_.WriteExprLoc(DW_AT_frame_base, expr);
197 info_.StartTag(DW_TAG_formal_parameter);
199 info_.WriteFlagPresent(DW_AT_artificial);
208 info_.EndTag();
212 info_.StartTag(DW_TAG_formal_parameter);
227 info_.EndTag();
243 info_.StartTag(DW_TAG_variable);
254 info_.EndTag();
259 info_.EndTag();
260 CHECK_EQ(info_.Depth(), start_depth); // Balanced start/end.
267 info_.EndTag(); // DW_TAG_compile_unit
268 CHECK_EQ(info_.Depth(), 0);
270 buffer.reserve(info_.data()->size() + KB);
274 WriteDebugInfoCU(debug_abbrev_offset, info_, offset, &buffer, &owner_->debug_info_patches_);
281 info_.StartTag(DW_TAG_compile_unit);
282 info_.WriteString(DW_AT_producer, "Android dex2oat");
283 info_.WriteData1(DW_AT_language, DW_LANG_Java);
305 info_.StartTag(DW_TAG_array_type);
309 info_.WriteUdata(DW_AT_data_member_location, data_offset);
310 info_.StartTag(DW_TAG_subrange_type);
315 info_.WriteExprLoc(DW_AT_count, count_expr);
316 info_.EndTag(); // DW_TAG_subrange_type.
317 info_.EndTag(); // DW_TAG_array_type.
328 info_.WriteUdata(DW_AT_byte_size, type->GetObjectSize());
337 info_.StartTag(DW_TAG_member);
340 info_.WriteFlagPresent(DW_AT_artificial);
357 info_.WriteExprLoc(DW_AT_data_member_location, expr);
358 info_.EndTag(); // DW_TAG_member.
364 info_.StartTag(DW_TAG_inheritance);
365 base_class_references.emplace(info_.size(), base_class);
366 info_.WriteRef4(DW_AT_type, 0);
367 info_.WriteUdata(DW_AT_data_member_location, 0);
368 info_.WriteSdata(DW_AT_accessibility, DW_ACCESS_public);
369 info_.EndTag(); // DW_TAG_inheritance.
375 info_.StartTag(DW_TAG_member);
378 info_.WriteUdata(DW_AT_data_member_location, field->GetOffset().Uint32Value());
381 info_.WriteSdata(DW_AT_accessibility, DW_ACCESS_public);
383 info_.WriteSdata(DW_AT_accessibility, DW_ACCESS_protected);
385 info_.WriteSdata(DW_AT_accessibility, DW_ACCESS_private);
387 info_
395 info_.StartTag(DW_TAG_member);
399 info_.WriteUdata(DW_AT_data_member_location,
401 info_.WriteSdata(DW_AT_accessibility, DW_ACCESS_private);
402 info_.EndTag(); // DW_TAG_member.
415 info_.UpdateUint32(reference_offset, it->second);
422 info_.WriteFlagPresent(DW_AT_declaration);
426 info_.UpdateUint32(reference_offset, base_class_declaration_offset);
432 info_.EndTag(); // DW_TAG_compile_unit.
433 CHECK_EQ(info_.Depth(), 0);
435 buffer.reserve(info_.data()->size() + KB);
439 WriteDebugInfoCU(debug_abbrev_offset, info_, offset, &buffer, &owner_->debug_info_patches_);
461 &info_,
481 info_.WriteString(dwarf::DW_AT_linkage_name, name);
489 lazy_types_.emplace(std::string(type_descriptor), info_.size());
490 info_.WriteRef4(dwarf::DW_AT_type, 0);
496 info_.UpdateUint32(lazy_type.second, WriteTypeDeclaration(lazy_type.first));
504 info_.WriteString(dwarf::DW_AT_name, name);
523 info_.WriteFlagPresent(DW_AT_declaration);
526 offset = info_.StartTag(DW_TAG_reference_type);
527 info_.WriteRef(DW_AT_type, class_offset);
528 info_.EndTag();
533 size_t array_type = info_.StartTag(DW_TAG_array_type);
534 info_.WriteFlagPresent(DW_AT_declaration);
535 info_.WriteRef(DW_AT_type, element_type);
536 info_.EndTag();
537 offset = info_.StartTag(DW_TAG_reference_type);
538 info_.WriteRef4(DW_AT_type, array_type);
539 info_.EndTag();
596 offset = info_.StartTag(DW_TAG_base_type);
598 info_.WriteData1(DW_AT_encoding, encoding);
599 info_.WriteData1(DW_AT_byte_size, byte_size);
600 info_.EndTag();
611 size_t offset = info_.StartTag(dwarf::DW_TAG_class_type);
617 info_.EndTag();
636 info_.StartTag(dwarf::DW_TAG_namespace);
649 info_.EndTag();
657 dwarf::DebugInfoEntryWriter<> info_;