Home
last modified time | relevance | path

Searched refs:relative_patcher_ (Results 1 – 5 of 5) sorted by relevance

/art/dex2oat/linker/
Dmulti_oat_relative_patcher.cc41 relative_patcher_(RelativePatcher::Create(instruction_set, in MultiOatRelativePatcher()
56 start_size_code_alignment_ = relative_patcher_->CodeAlignmentSize(); in StartOatFile()
57 start_size_relative_call_thunks_ = relative_patcher_->RelativeCallThunksSize(); in StartOatFile()
58 start_size_misc_thunks_ = relative_patcher_->MiscThunksSize(); in StartOatFile()
62 DCHECK_GE(relative_patcher_->CodeAlignmentSize(), start_size_code_alignment_); in CodeAlignmentSize()
63 return relative_patcher_->CodeAlignmentSize() - start_size_code_alignment_; in CodeAlignmentSize()
67 DCHECK_GE(relative_patcher_->RelativeCallThunksSize(), start_size_relative_call_thunks_); in RelativeCallThunksSize()
68 return relative_patcher_->RelativeCallThunksSize() - start_size_relative_call_thunks_; in RelativeCallThunksSize()
72 DCHECK_GE(relative_patcher_->MiscThunksSize(), start_size_misc_thunks_); in MiscThunksSize()
73 return relative_patcher_->MiscThunksSize() - start_size_misc_thunks_; in MiscThunksSize()
Dmulti_oat_relative_patcher.h74 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); in ReserveSpace()
82 offset = relative_patcher_->ReserveSpaceEnd(offset); in ReserveSpaceEnd()
90 offset = relative_patcher_->WriteThunks(out, offset); in WriteThunks()
104 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset); in PatchCall()
114 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); in PatchPcRelativeReference()
121 relative_patcher_->PatchEntrypointCall(code, patch, patch_offset); in PatchEntrypointCall()
128 relative_patcher_->PatchBakerReadBarrierBranch(code, patch, patch_offset); in PatchBakerReadBarrierBranch()
133 return relative_patcher_->GenerateThunkDebugInfo(executable_offset); in GenerateThunkDebugInfo()
165 std::unique_ptr<RelativePatcher> relative_patcher_; variable
Doat_writer.cc458 relative_patcher_(nullptr), in OatWriter()
742 relative_patcher_ = relative_patcher; in PrepareLayout()
1280 offset_ = writer_->relative_patcher_->ReserveSpaceEnd(offset_); in VisitComplete()
1283 relative_patcher_->GenerateThunkDebugInfo(executable_offset_); in VisitComplete()
1314 quick_code_offset = relative_patcher_->GetOffset(method_ref); in VisitMethod()
1332 if (relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod()
1336 << " offsets " << relative_patcher_->GetOffset(method_ref) in VisitMethod()
1339 relative_patcher_->SetOffset(method_ref, quick_code_offset); in VisitMethod()
1413 relative_patcher_(writer->relative_patcher_), in LayoutReserveOffsetCodeMethodVisitor()
1442 offset_ = relative_patcher_->ReserveSpace(offset_, compiled_method, method_ref); in NewQuickCodeOffset()
[all …]
Dmulti_oat_relative_patcher_test.cc134 patcher_.relative_patcher_ = std::move(mock); in MultiOatRelativePatcherTest()
Doat_writer.h539 MultiOatRelativePatcher* relative_patcher_; variable