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