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.cc131 patcher_(kRuntimeISA, instruction_set_features_.get(), /* storage */ nullptr) { in MultiOatRelativePatcherTest()
134 patcher_.relative_patcher_ = std::move(mock); in MultiOatRelativePatcherTest()
138 MultiOatRelativePatcher patcher_; member in art::linker::MultiOatRelativePatcherTest
146 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F()
147 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
150 patcher_.StartOatFile(adjustment1); in TEST_F()
151 EXPECT_EQ(0u, patcher_.GetOffset(ref1)); in TEST_F()
152 EXPECT_EQ(0u, patcher_.GetOffset(ref2)); in TEST_F()
155 patcher_.SetOffset(ref1, off1); in TEST_F()
156 EXPECT_EQ(off1, patcher_.GetOffset(ref1)); in TEST_F()
[all …]
Drelative_patcher_test.h46 patcher_(nullptr), in RelativePatcherTest()
68 patcher_.reset(); in TearDown()
83 patcher_ = RelativePatcher::Create(instruction_set_, in Reset()
129 offset = patcher_->ReserveSpace(offset, compiled_method.get(), compiled_method_refs_[idx]); in Link()
142 offset = patcher_->ReserveSpaceEnd(offset); in Link()
158 offset = patcher_->WriteThunks(out_.get(), offset); in Link()
176 patcher_->PatchCall(&patched_code_, in Link()
183 patcher_->PatchPcRelativeReference(&patched_code_, in Link()
190 patcher_->PatchPcRelativeReference(&patched_code_, in Link()
195 patcher_->PatchEntrypointCall(&patched_code_, in Link()
[all …]