Home
last modified time | relevance | path

Searched refs:patch (Results 1 – 25 of 38) sorted by relevance

12

/art/compiler/linker/
Dlinker_patch.h62 LinkerPatch patch(literal_offset, Type::kIntrinsicReference, /* target_dex_file= */ nullptr); in IntrinsicReferencePatch()
63 patch.intrinsic_data_ = intrinsic_data; in IntrinsicReferencePatch()
64 patch.pc_insn_offset_ = pc_insn_offset; in IntrinsicReferencePatch()
65 return patch; in IntrinsicReferencePatch()
71 LinkerPatch patch(literal_offset, Type::kDataBimgRelRo, /* target_dex_file= */ nullptr); in DataBimgRelRoPatch()
72 patch.boot_image_offset_ = boot_image_offset; in DataBimgRelRoPatch()
73 patch.pc_insn_offset_ = pc_insn_offset; in DataBimgRelRoPatch()
74 return patch; in DataBimgRelRoPatch()
81 LinkerPatch patch(literal_offset, Type::kMethodRelative, target_dex_file); in RelativeMethodPatch()
82 patch.method_idx_ = target_method_idx; in RelativeMethodPatch()
[all …]
/art/dex2oat/linker/
Drelative_patcher_test.h171 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in Link() local
172 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in Link()
173 auto result = method_offset_map_.FindMethodOffset(patch.TargetMethod()); in Link()
177 patch.LiteralOffset(), in Link()
178 offset + patch.LiteralOffset(), in Link()
180 } else if (patch.GetType() == LinkerPatch::Type::kStringBssEntry) { in Link()
182 bss_begin_ + string_index_to_offset_map_.Get(patch.TargetStringIndex().index_); in Link()
184 patch, in Link()
185 offset + patch.LiteralOffset(), in Link()
187 } else if (patch.GetType() == LinkerPatch::Type::kStringRelative) { in Link()
[all …]
Dmulti_oat_relative_patcher.h109 const LinkerPatch& patch, in PatchPcRelativeReference() argument
114 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); in PatchPcRelativeReference()
118 const LinkerPatch& patch, in PatchEntrypointCall() argument
121 relative_patcher_->PatchEntrypointCall(code, patch, patch_offset); in PatchEntrypointCall()
125 const LinkerPatch& patch, in PatchBakerReadBarrierBranch() argument
128 relative_patcher_->PatchBakerReadBarrierBranch(code, patch, patch_offset); in PatchBakerReadBarrierBranch()
147 void GetThunkCode(const LinkerPatch& patch,
Drelative_patcher.h54 virtual void GetThunkCode(const LinkerPatch& patch,
136 const LinkerPatch& patch,
142 const LinkerPatch& patch,
147 const LinkerPatch& patch,
Drelative_patcher.cc68 const LinkerPatch& patch ATTRIBUTE_UNUSED, in Create()
75 const LinkerPatch& patch ATTRIBUTE_UNUSED, in Create()
81 const LinkerPatch& patch ATTRIBUTE_UNUSED, in Create()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc58 inline bool IsAdrpPatch(const LinkerPatch& patch) { in IsAdrpPatch() argument
59 switch (patch.GetType()) { in IsAdrpPatch()
72 return patch.LiteralOffset() == patch.PcInsnOffset(); in IsAdrpPatch()
120 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() local
121 if (IsAdrpPatch(patch)) { in ReserveSpace()
137 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() local
138 if (IsAdrpPatch(patch)) { in ReserveSpace()
139 uint32_t patch_offset = quick_code_offset + patch.LiteralOffset(); in ReserveSpace()
140 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) { in ReserveSpace()
203 const LinkerPatch& patch, in PatchPcRelativeReference() argument
[all …]
Drelative_patcher_arm64.h47 const LinkerPatch& patch,
51 const LinkerPatch& patch,
54 const LinkerPatch& patch,
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64.cc26 const LinkerPatch& patch, in PatchPcRelativeReference() argument
29 DCHECK_LE(patch.LiteralOffset() + 4u, code->size()); in PatchPcRelativeReference()
35 reinterpret_cast<unaligned_int32_t*>(&(*code)[patch.LiteralOffset()])[0] = displacement; in PatchPcRelativeReference()
39 const LinkerPatch& patch ATTRIBUTE_UNUSED, in PatchEntrypointCall()
45 const LinkerPatch& patch ATTRIBUTE_UNUSED, in PatchBakerReadBarrierBranch()
Drelative_patcher_x86_64.h30 const LinkerPatch& patch,
34 const LinkerPatch& patch,
37 const LinkerPatch& patch,
/art/dex2oat/linker/x86/
Drelative_patcher_x86.cc26 const LinkerPatch& patch, in PatchPcRelativeReference() argument
29 uint32_t anchor_literal_offset = patch.PcInsnOffset(); in PatchPcRelativeReference()
30 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference()
61 const LinkerPatch& patch ATTRIBUTE_UNUSED, in PatchEntrypointCall()
67 const LinkerPatch& patch ATTRIBUTE_UNUSED, in PatchBakerReadBarrierBranch()
Drelative_patcher_x86.h30 const LinkerPatch& patch,
34 const LinkerPatch& patch,
37 const LinkerPatch& patch,
/art/test/1936-thread-end-events/
Dcheck19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
/art/test/1932-monitor-events-misc/
Dcheck19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
/art/test/1950-unprepared-transform/
Dcheck19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
/art/test/1931-monitor-events/
Dcheck19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc68 const LinkerPatch& patch, in PatchPcRelativeReference() argument
71 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference()
72 uint32_t pc_literal_offset = patch.PcInsnOffset(); in PatchPcRelativeReference()
88 const LinkerPatch& patch, in PatchEntrypointCall() argument
91 ThunkKey key = GetEntrypointCallKey(patch); in PatchEntrypointCall()
95 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall()
99 const LinkerPatch& patch, in PatchBakerReadBarrierBranch() argument
102 uint32_t literal_offset = patch.LiteralOffset(); in PatchBakerReadBarrierBranch()
107 ThunkKey key = GetBakerThunkKey(patch); in PatchBakerReadBarrierBranch()
Drelative_patcher_arm_base.cc390 const LinkerPatch& patch) { in GetEntrypointCallKey() argument
391 DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kCallEntrypoint); in GetEntrypointCallKey()
392 return ThunkKey(ThunkType::kEntrypointCall, patch.EntrypointOffset()); in GetEntrypointCallKey()
396 const LinkerPatch& patch) { in GetBakerThunkKey() argument
397 DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kBakerReadBarrierBranch); in GetBakerThunkKey()
399 patch.GetBakerCustomValue1(), in GetBakerThunkKey()
400 patch.GetBakerCustomValue2()); in GetBakerThunkKey()
405 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ProcessPatches() local
406 uint32_t patch_offset = code_offset + patch.LiteralOffset(); in ProcessPatches()
410 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in ProcessPatches()
[all …]
Drelative_patcher_thumb2.h42 const LinkerPatch& patch,
46 const LinkerPatch& patch,
49 const LinkerPatch& patch,
/art/test/1955-pop-frame-jit-called/
Dcheck21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1956-pop-frame-jit-calling/
Dcheck21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1954-pop-frame-jit/
Dcheck21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1969-force-early-return-void/
Dcheck21 (patch -p0 expected.txt < class-loading-expected.patch >/dev/null && ./default-check "$@")
/art/test/1953-pop-frame/
Dcheck21 (patch -p0 expected.txt < class-loading-expected.patch >/dev/null && ./default-check "$@")
/art/test/2000-virtual-list-structural/
Dbuild25 patch src-ex/java/util/AbstractCollection.java AbstractCollection.patch
/art/test/909-attach-agent/
Drun28 patch -s expected.txt <interpreter-expected.patch

12