/art/compiler/linker/ |
D | linker_patch.h | 62 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/ |
D | relative_patcher_test.h | 171 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 …]
|
D | multi_oat_relative_patcher.h | 109 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,
|
D | relative_patcher.h | 54 virtual void GetThunkCode(const LinkerPatch& patch, 136 const LinkerPatch& patch, 142 const LinkerPatch& patch, 147 const LinkerPatch& patch,
|
D | multi_oat_relative_patcher.cc | 28 void MultiOatRelativePatcher::ThunkProvider::GetThunkCode(const LinkerPatch& patch, in GetThunkCode() argument 31 *code = storage_->GetThunkCode(patch, debug_name); in GetThunkCode()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.cc | 58 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 …]
|
D | relative_patcher_arm64.h | 47 const LinkerPatch& patch, 51 const LinkerPatch& patch, 54 const LinkerPatch& patch,
|
/art/dex2oat/linker/x86_64/ |
D | relative_patcher_x86_64.cc | 26 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()
|
D | relative_patcher_x86_64.h | 30 const LinkerPatch& patch, 34 const LinkerPatch& patch, 37 const LinkerPatch& patch,
|
/art/dex2oat/linker/x86/ |
D | relative_patcher_x86.cc | 26 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()
|
D | relative_patcher_x86.h | 30 const LinkerPatch& patch, 34 const LinkerPatch& patch, 37 const LinkerPatch& patch,
|
/art/test/1950-unprepared-transform/ |
D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/art/test/1932-monitor-events-misc/ |
D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/art/test/1931-monitor-events/ |
D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/art/test/1936-thread-end-events/ |
D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/art/test/1956-pop-frame-jit-calling/ |
D | check | 21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
|
/art/test/1954-pop-frame-jit/ |
D | check | 21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
|
/art/test/1955-pop-frame-jit-called/ |
D | check | 21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
|
/art/test/1969-force-early-return-void/ |
D | check | 21 (patch -p0 expected.txt < class-loading-expected.patch >/dev/null && ./default-check "$@")
|
/art/test/1953-pop-frame/ |
D | check | 21 (patch -p0 expected.txt < class-loading-expected.patch >/dev/null && ./default-check "$@")
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2.cc | 68 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()
|
D | relative_patcher_arm_base.cc | 390 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 …]
|
D | relative_patcher_thumb2.h | 42 const LinkerPatch& patch, 46 const LinkerPatch& patch, 49 const LinkerPatch& patch,
|
/art/test/2000-virtual-list-structural/ |
D | build | 25 patch src-ex/java/util/AbstractCollection.java AbstractCollection.patch
|
/art/test/909-attach-agent/ |
D | run | 28 patch -s expected.txt <interpreter-expected.patch
|