Home
last modified time | relevance | path

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

/art/compiler/linker/
Dmulti_oat_relative_patcher.cc29 relative_patcher_( in MultiOatRelativePatcher()
42 start_size_code_alignment_ = relative_patcher_->CodeAlignmentSize(); in StartOatFile()
43 start_size_relative_call_thunks_ = relative_patcher_->RelativeCallThunksSize(); in StartOatFile()
44 start_size_misc_thunks_ = relative_patcher_->MiscThunksSize(); in StartOatFile()
48 DCHECK_GE(relative_patcher_->CodeAlignmentSize(), start_size_code_alignment_); in CodeAlignmentSize()
49 return relative_patcher_->CodeAlignmentSize() - start_size_code_alignment_; in CodeAlignmentSize()
53 DCHECK_GE(relative_patcher_->RelativeCallThunksSize(), start_size_relative_call_thunks_); in RelativeCallThunksSize()
54 return relative_patcher_->RelativeCallThunksSize() - start_size_relative_call_thunks_; in RelativeCallThunksSize()
58 DCHECK_GE(relative_patcher_->MiscThunksSize(), start_size_misc_thunks_); in MiscThunksSize()
59 return relative_patcher_->MiscThunksSize() - start_size_misc_thunks_; in MiscThunksSize()
Dmulti_oat_relative_patcher.h72 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); in ReserveSpace()
80 offset = relative_patcher_->ReserveSpaceEnd(offset); in ReserveSpaceEnd()
88 offset = relative_patcher_->WriteThunks(out, offset); in WriteThunks()
102 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset); in PatchCall()
112 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); in PatchPcRelativeReference()
130 std::unique_ptr<RelativePatcher> relative_patcher_; variable
Dmulti_oat_relative_patcher_test.cc117 patcher_.relative_patcher_ = std::move(mock); in MultiOatRelativePatcherTest()
/art/compiler/
Doat_writer.cc316 relative_patcher_(nullptr), in OatWriter()
478 relative_patcher_ = relative_patcher; in PrepareLayout()
673 offset_ = writer_->relative_patcher_->ReserveSpaceEnd(offset_); in EndClass()
695 quick_code_offset = writer_->relative_patcher_->GetOffset(method_ref); in VisitMethod()
713 if (writer_->relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod()
717 << " offsets " << writer_->relative_patcher_->GetOffset(method_ref) in VisitMethod()
720 writer_->relative_patcher_->SetOffset(method_ref, quick_code_offset); in VisitMethod()
817 offset_ = writer_->relative_patcher_->ReserveSpace( in NewQuickCodeOffset()
982 offset_ = writer_->relative_patcher_->WriteThunks(out_, offset_); in EndClass()
1008 offset_ = writer_->relative_patcher_->WriteThunks(out, offset_); in VisitMethod()
[all …]
Doat_writer.h364 linker::MultiOatRelativePatcher* relative_patcher_; variable