/art/test/1932-monitor-events-misc/ |
H A D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/art/test/1936-thread-end-events/ |
H A D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/art/test/1950-unprepared-transform/ |
H A D | check | 19 patch -p0 expected.txt < jvm-expected.patch >/dev/null
|
/art/test/913-heaps/ |
H A D | check | 20 patch -p0 expected.txt < expected_jack.diff 22 patch -p0 expected.txt < expected_d8.diff
|
/art/test/911-get-stack-trace/ |
H A D | check | 19 patch -p0 expected.txt < expected_jack.diff 23 patch -p0 expected.txt < expected_d8.diff 34 patch -p0 expected.txt < expected_d8.diff
|
/art/test/910-methods/ |
H A D | check | 19 patch -p0 expected.txt < expected_jack.diff 30 patch -p0 expected.txt < expected_d8.diff
|
/art/compiler/linker/x86_64/ |
H A D | relative_patcher_x86_64.cc | 26 const LinkerPatch& patch, 29 DCHECK_LE(patch.LiteralOffset() + 4u, code->size()); 32 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. 35 reinterpret_cast<unaligned_int32_t*>(&(*code)[patch.LiteralOffset()])[0] = displacement; 39 const LinkerPatch& patch ATTRIBUTE_UNUSED, 25 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
H A D | relative_patcher_x86_64.h | 30 const LinkerPatch& patch, 34 const LinkerPatch& patch,
|
/art/compiler/linker/ |
H A D | linker_patch.h | 61 LinkerPatch patch(literal_offset, Type::kMethodRelative, target_dex_file); 62 patch.method_idx_ = target_method_idx; 63 patch.pc_insn_offset_ = pc_insn_offset; 64 return patch; 71 LinkerPatch patch(literal_offset, Type::kMethodBssEntry, target_dex_file); 72 patch.method_idx_ = target_method_idx; 73 patch.pc_insn_offset_ = pc_insn_offset; 74 return patch; 80 LinkerPatch patch(literal_offset, Type::kCall, target_dex_file); 81 patch [all...] |
H A D | relative_patcher_test.h | 151 for (const LinkerPatch& patch : compiled_method->GetPatches()) { 152 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { 153 auto result = method_offset_map_.FindMethodOffset(patch.TargetMethod()); 156 patcher_->PatchCall(&patched_code_, patch.LiteralOffset(), 157 offset + patch.LiteralOffset(), target_offset); 158 } else if (patch.GetType() == LinkerPatch::Type::kStringBssEntry) { 160 bss_begin_ + string_index_to_offset_map_.Get(patch.TargetStringIndex().index_); 162 patch, 163 offset + patch.LiteralOffset(), 165 } else if (patch [all...] |
H A D | relative_patcher.h | 113 const LinkerPatch& patch, 119 const LinkerPatch& patch,
|
H A D | relative_patcher.cc | 69 LOG(FATAL) << "Unexpected relative call patch."; 73 const LinkerPatch& patch ATTRIBUTE_UNUSED, 76 LOG(FATAL) << "Unexpected relative dex cache array patch."; 80 const LinkerPatch& patch ATTRIBUTE_UNUSED, 82 LOG(FATAL) << "Unexpected baker read barrier branch patch.";
|
/art/compiler/linker/x86/ |
H A D | relative_patcher_x86.h | 30 const LinkerPatch& patch, 34 const LinkerPatch& patch,
|
H A D | relative_patcher_x86.cc | 26 const LinkerPatch& patch, 29 uint32_t anchor_literal_offset = patch.PcInsnOffset(); 30 uint32_t literal_offset = patch.LiteralOffset(); 51 // Apply patch. 61 const LinkerPatch& patch ATTRIBUTE_UNUSED, 25 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
/art/compiler/linker/mips64/ |
H A D | relative_patcher_mips64.h | 39 const LinkerPatch& patch, 43 const LinkerPatch& patch,
|
H A D | relative_patcher_mips64.cc | 49 const LinkerPatch& patch, 52 uint32_t anchor_literal_offset = patch.PcInsnOffset(); 53 uint32_t literal_offset = patch.LiteralOffset(); 67 // Apply patch. 88 const LinkerPatch& patch ATTRIBUTE_UNUSED, 48 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
/art/compiler/linker/mips/ |
H A D | relative_patcher_mips.cc | 49 const LinkerPatch& patch, 52 uint32_t anchor_literal_offset = patch.PcInsnOffset(); 53 uint32_t literal_offset = patch.LiteralOffset(); 73 // Apply patch. 90 const LinkerPatch& patch ATTRIBUTE_UNUSED, 48 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
H A D | relative_patcher_mips.h | 41 const LinkerPatch& patch, 45 const LinkerPatch& patch,
|
/art/dex2oat/linker/ |
H A D | multi_oat_relative_patcher.h | 106 const LinkerPatch& patch, 111 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); 115 const LinkerPatch& patch, 118 relative_patcher_->PatchBakerReadBarrierBranch(code, patch, patch_offset); 105 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument 114 PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset) argument
|
H A D | oat_writer.cc | 854 for (const LinkerPatch& patch : compiled_method->GetPatches()) { 855 if (patch.GetType() == LinkerPatch::Type::kMethodBssEntry) { 856 MethodReference target_method = patch.TargetMethod(); 861 } else if (patch.GetType() == LinkerPatch::Type::kTypeBssEntry) { 862 TypeReference target_type(patch.TargetTypeDexFile(), patch.TargetTypeIndex()); 867 } else if (patch.GetType() == LinkerPatch::Type::kStringBssEntry) { 868 StringReference target_string(patch.TargetStringDexFile(), patch.TargetStringIndex()); 873 } else if (patch [all...] |
/art/test/909-attach-agent/ |
H A D | run | 28 patch -s expected.txt <interpreter-expected.patch
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64.cc | 42 // Maximum positive and negative displacement for method call measured from the patch location. 48 // Maximum positive and negative displacement for a conditional branch measured from the patch 57 inline bool IsAdrpPatch(const LinkerPatch& patch) { argument 58 switch (patch.GetType()) { 71 return patch.LiteralOffset() == patch.PcInsnOffset(); 118 for (const LinkerPatch& patch : compiled_method->GetPatches()) { 119 if (IsAdrpPatch(patch)) { 135 for (const LinkerPatch& patch : compiled_method->GetPatches()) { 136 if (IsAdrpPatch(patch)) { 209 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument 308 PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset) argument [all...] |
H A D | relative_patcher_arm64.h | 70 const LinkerPatch& patch, 74 const LinkerPatch& patch,
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_arm_base.cc | 383 const LinkerPatch& patch) { 384 DCHECK_EQ(patch.GetType(), LinkerPatch::Type::kBakerReadBarrierBranch); 386 patch.GetBakerCustomValue1(), 387 patch.GetBakerCustomValue2()); 392 for (const LinkerPatch& patch : compiled_method->GetPatches()) { 393 uint32_t patch_offset = code_offset + patch.LiteralOffset(); 396 if (patch.GetType() == LinkerPatch::Type::kCallRelative) { 398 unprocessed_method_call_patches_.emplace_back(patch_offset, patch.TargetMethod()); 407 } else if (patch.GetType() == LinkerPatch::Type::kBakerReadBarrierBranch) { 408 key = GetBakerThunkKey(patch); 382 GetBakerThunkKey( const LinkerPatch& patch) argument [all...] |
H A D | relative_patcher_thumb2.h | 78 const LinkerPatch& patch, 82 const LinkerPatch& patch,
|