Home
last modified time | relevance | path

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

12

/art/compiler/linker/
Dlinker_patch.h65 LinkerPatch patch(literal_offset, Type::kIntrinsicReference, /* target_dex_file= */ nullptr); in IntrinsicReferencePatch()
66 patch.intrinsic_data_ = intrinsic_data; in IntrinsicReferencePatch()
67 patch.pc_insn_offset_ = pc_insn_offset; in IntrinsicReferencePatch()
68 return patch; in IntrinsicReferencePatch()
74 LinkerPatch patch(literal_offset, Type::kDataBimgRelRo, /* target_dex_file= */ nullptr); in DataBimgRelRoPatch()
75 patch.boot_image_offset_ = boot_image_offset; in DataBimgRelRoPatch()
76 patch.pc_insn_offset_ = pc_insn_offset; in DataBimgRelRoPatch()
77 return patch; in DataBimgRelRoPatch()
84 LinkerPatch patch(literal_offset, Type::kMethodRelative, target_dex_file); in RelativeMethodPatch()
85 patch.method_idx_ = target_method_idx; in RelativeMethodPatch()
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc57 inline bool IsAdrpPatch(const LinkerPatch& patch) { in IsAdrpPatch() argument
58 switch (patch.GetType()) { in IsAdrpPatch()
74 return patch.LiteralOffset() == patch.PcInsnOffset(); in IsAdrpPatch()
122 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() local
123 if (IsAdrpPatch(patch)) { in ReserveSpace()
139 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() local
140 if (IsAdrpPatch(patch)) { in ReserveSpace()
141 uint32_t patch_offset = quick_code_offset + patch.LiteralOffset(); in ReserveSpace()
142 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) { in ReserveSpace()
205 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/
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/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/dex2oat/linker/arm/
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.cc67 const LinkerPatch& patch, in PatchPcRelativeReference() argument
70 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference()
71 uint32_t pc_literal_offset = patch.PcInsnOffset(); in PatchPcRelativeReference()
87 const LinkerPatch& patch, in PatchEntrypointCall() argument
90 ThunkKey key = GetEntrypointCallKey(patch); in PatchEntrypointCall()
94 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall()
98 const LinkerPatch& patch, in PatchBakerReadBarrierBranch() argument
101 uint32_t literal_offset = patch.LiteralOffset(); in PatchBakerReadBarrierBranch()
106 ThunkKey key = GetBakerThunkKey(patch); in PatchBakerReadBarrierBranch()
Drelative_patcher_thumb2.h42 const LinkerPatch& patch,
46 const LinkerPatch& patch,
49 const LinkerPatch& patch,
/art/test/1950-unprepared-transform/
Dcheck25 patch -p0 expected-stdout.txt < jvm-expected.patch >/dev/null
/art/test/1931-monitor-events/
Dcheck25 patch -p0 expected-stdout.txt < jvm-expected.patch >/dev/null
/art/test/1932-monitor-events-misc/
Dcheck25 patch -p0 expected-stdout.txt < jvm-expected.patch >/dev/null
/art/test/1936-thread-end-events/
Dcheck25 patch -p0 expected-stdout.txt < jvm-expected.patch >/dev/null
/art/test/1956-pop-frame-jit-calling/
Dcheck27 (patch -p0 expected-stdout.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1954-pop-frame-jit/
Dcheck27 (patch -p0 expected-stdout.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1955-pop-frame-jit-called/
Dcheck27 (patch -p0 expected-stdout.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
/art/test/1969-force-early-return-void/
Dcheck27 (patch -p0 expected-stdout.txt < class-loading-expected.patch >/dev/null && ./default-check "$@")
/art/test/1953-pop-frame/
Dcheck27 (patch -p0 expected-stdout.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-stdout.txt <interpreter-expected.patch

12