Home
last modified time | relevance | path

Searched refs:patcher_ (Results 1 – 2 of 2) sorted by relevance

/art/dex2oat/linker/
Dmulti_oat_relative_patcher_test.cc125 patcher_(kRuntimeISA, instruction_set_features_.get(), /* storage */ nullptr) { in MultiOatRelativePatcherTest()
128 patcher_.relative_patcher_ = std::move(mock); in MultiOatRelativePatcherTest()
132 MultiOatRelativePatcher patcher_; member in art::linker::MultiOatRelativePatcherTest
140 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F()
141 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
144 patcher_.StartOatFile(adjustment1); in TEST_F()
145 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F()
146 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
149 patcher_.SetOffset(ref1, off1); in TEST_F()
150 EXPECT_EQ(off1, patcher_.GetOffset(ref1)); in TEST_F()
[all …]
Drelative_patcher_test.h47 patcher_(nullptr), in RelativePatcherTest()
69 patcher_.reset(); in TearDown()
84 patcher_ = RelativePatcher::Create(instruction_set_, in Reset()
130 offset = patcher_->ReserveSpace(offset, compiled_method.get(), compiled_method_refs_[idx]); in Link()
143 offset = patcher_->ReserveSpaceEnd(offset); in Link()
159 offset = patcher_->WriteThunks(out_.get(), offset); in Link()
177 patcher_->PatchCall(&patched_code_, patch.LiteralOffset(), in Link()
182 patcher_->PatchPcRelativeReference(&patched_code_, in Link()
189 patcher_->PatchPcRelativeReference(&patched_code_, in Link()
194 patcher_->PatchBakerReadBarrierBranch(&patched_code_, in Link()
[all …]