Searched refs:relative_patcher_ (Results 1 – 5 of 5) sorted by relevance
/art/dex2oat/linker/ |
D | multi_oat_relative_patcher.cc | 41 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()
|
D | multi_oat_relative_patcher.h | 74 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
|
D | oat_writer.cc | 471 relative_patcher_(nullptr), in OatWriter() 753 relative_patcher_ = relative_patcher; in PrepareLayout() 1291 offset_ = writer_->relative_patcher_->ReserveSpaceEnd(offset_); in VisitComplete() 1294 relative_patcher_->GenerateThunkDebugInfo(executable_offset_); in VisitComplete() 1325 quick_code_offset = relative_patcher_->GetOffset(method_ref); in VisitMethod() 1343 if (relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod() 1347 << " offsets " << relative_patcher_->GetOffset(method_ref) in VisitMethod() 1350 relative_patcher_->SetOffset(method_ref, quick_code_offset); in VisitMethod() 1424 relative_patcher_(writer->relative_patcher_), in LayoutReserveOffsetCodeMethodVisitor() 1453 offset_ = relative_patcher_->ReserveSpace(offset_, compiled_method, method_ref); in NewQuickCodeOffset() [all …]
|
D | multi_oat_relative_patcher_test.cc | 134 patcher_.relative_patcher_ = std::move(mock); in MultiOatRelativePatcherTest()
|
D | oat_writer.h | 536 MultiOatRelativePatcher* relative_patcher_; variable
|