/art/compiler/linker/ |
D | linker_patch.h | 61 LinkerPatch patch(literal_offset, Type::kIntrinsicReference, /* target_dex_file= */ nullptr); in IntrinsicReferencePatch() 62 patch.intrinsic_data_ = intrinsic_data; in IntrinsicReferencePatch() 63 patch.pc_insn_offset_ = pc_insn_offset; in IntrinsicReferencePatch() 64 return patch; in IntrinsicReferencePatch() 70 LinkerPatch patch(literal_offset, Type::kDataBimgRelRo, /* target_dex_file= */ nullptr); in DataBimgRelRoPatch() 71 patch.boot_image_offset_ = boot_image_offset; in DataBimgRelRoPatch() 72 patch.pc_insn_offset_ = pc_insn_offset; in DataBimgRelRoPatch() 73 return patch; in DataBimgRelRoPatch() 80 LinkerPatch patch(literal_offset, Type::kMethodRelative, target_dex_file); in RelativeMethodPatch() 81 patch.method_idx_ = target_method_idx; in RelativeMethodPatch() [all …]
|
/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() 71 return patch.LiteralOffset() == patch.PcInsnOffset(); in IsAdrpPatch() 119 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() local 120 if (IsAdrpPatch(patch)) { in ReserveSpace() 136 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() local 137 if (IsAdrpPatch(patch)) { in ReserveSpace() 138 uint32_t patch_offset = quick_code_offset + patch.LiteralOffset(); in ReserveSpace() 139 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) { in ReserveSpace() 211 const LinkerPatch& patch, in PatchPcRelativeReference() argument [all …]
|
/art/dex2oat/linker/ |
D | relative_patcher_test.h | 172 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in Link() local 173 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in Link() 174 auto result = method_offset_map_.FindMethodOffset(patch.TargetMethod()); in Link() 177 patcher_->PatchCall(&patched_code_, patch.LiteralOffset(), in Link() 178 offset + patch.LiteralOffset(), target_offset); in Link() 179 } else if (patch.GetType() == LinkerPatch::Type::kStringBssEntry) { in Link() 181 bss_begin_ + string_index_to_offset_map_.Get(patch.TargetStringIndex().index_); in Link() 183 patch, in Link() 184 offset + patch.LiteralOffset(), in Link() 186 } 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 PatchBakerReadBarrierBranch() argument 121 relative_patcher_->PatchBakerReadBarrierBranch(code, patch, patch_offset); in PatchBakerReadBarrierBranch() 140 void GetThunkCode(const LinkerPatch& patch,
|
D | relative_patcher.h | 54 virtual void GetThunkCode(const LinkerPatch& patch, 136 const LinkerPatch& patch, 142 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 PatchBakerReadBarrierBranch()
|
D | relative_patcher_x86_64.h | 30 const LinkerPatch& patch, 34 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 PatchBakerReadBarrierBranch()
|
D | relative_patcher_x86.h | 30 const LinkerPatch& patch, 34 const LinkerPatch& patch,
|
/art/test/1932-monitor-events-misc/ |
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/1931-monitor-events/ |
D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/art/test/1950-unprepared-transform/ |
D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/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/1956-pop-frame-jit-calling/ |
D | check | 21 (patch -p0 expected.txt < jvm-expected.patch >/dev/null && ./default-check "$@")
|
/art/dex2oat/linker/mips64/ |
D | relative_patcher_mips64.cc | 49 const LinkerPatch& patch, in PatchPcRelativeReference() argument 52 uint32_t anchor_literal_offset = patch.PcInsnOffset(); in PatchPcRelativeReference() 53 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference() 88 const LinkerPatch& patch ATTRIBUTE_UNUSED, in PatchBakerReadBarrierBranch()
|
D | relative_patcher_mips64.h | 39 const LinkerPatch& patch, 43 const LinkerPatch& patch,
|
/art/test/1953-pop-frame/ |
D | check | 21 (patch -p0 expected.txt < class-loading-expected.patch >/dev/null && ./default-check "$@")
|
/art/dex2oat/linker/mips/ |
D | relative_patcher_mips.cc | 49 const LinkerPatch& patch, in PatchPcRelativeReference() argument 52 uint32_t anchor_literal_offset = patch.PcInsnOffset(); in PatchPcRelativeReference() 53 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference() 90 const LinkerPatch& patch ATTRIBUTE_UNUSED, in PatchBakerReadBarrierBranch()
|
D | relative_patcher_mips.h | 41 const LinkerPatch& patch, 45 const LinkerPatch& patch,
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2.cc | 86 const LinkerPatch& patch, in PatchPcRelativeReference() argument 89 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference() 90 uint32_t pc_literal_offset = patch.PcInsnOffset(); in PatchPcRelativeReference() 106 const LinkerPatch& patch, in PatchBakerReadBarrierBranch() argument 109 uint32_t literal_offset = patch.LiteralOffset(); in PatchBakerReadBarrierBranch() 114 ThunkKey key = GetBakerThunkKey(patch); in PatchBakerReadBarrierBranch()
|
D | relative_patcher_arm_base.cc | 390 const LinkerPatch& patch) { in GetBakerThunkKey() argument 391 DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kBakerReadBarrierBranch); in GetBakerThunkKey() 393 patch.GetBakerCustomValue1(), in GetBakerThunkKey() 394 patch.GetBakerCustomValue2()); in GetBakerThunkKey() 399 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ProcessPatches() local 400 uint32_t patch_offset = code_offset + patch.LiteralOffset(); in ProcessPatches() 403 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { in ProcessPatches() 405 unprocessed_method_call_patches_.emplace_back(patch_offset, patch.TargetMethod()); in ProcessPatches() 408 auto it = thunks_.Put(key, ThunkDataForPatch(patch, max_next_offset)); in ProcessPatches() 414 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { in ProcessPatches() [all …]
|
D | relative_patcher_thumb2.h | 42 const LinkerPatch& patch, 46 const LinkerPatch& patch,
|
/art/test/909-attach-agent/ |
D | run | 28 patch -s expected.txt <interpreter-expected.patch
|