Home
last modified time | relevance | path

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

/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc409 auto expected_thunk_code = GenNopsAndAdrpLdr(0u, thunk_offset, target_offset); in TestNopsAdrpInsn2AndUseHasThunk() local
410 ASSERT_EQ(expected_thunk_code.size(), 8u); in TestNopsAdrpInsn2AndUseHasThunk()
411 expected_thunk_code.erase(expected_thunk_code.begin() + 4u, expected_thunk_code.begin() + 8u); in TestNopsAdrpInsn2AndUseHasThunk()
412 InsertInsn(&expected_thunk_code, 4u, b_in); in TestNopsAdrpInsn2AndUseHasThunk()
413 ASSERT_EQ(expected_thunk_code.size(), 8u); in TestNopsAdrpInsn2AndUseHasThunk()
417 ASSERT_EQ(thunk_size, expected_thunk_code.size()); in TestNopsAdrpInsn2AndUseHasThunk()
419 if (ArrayRef<const uint8_t>(expected_thunk_code) != thunk_code) { in TestNopsAdrpInsn2AndUseHasThunk()
420 DumpDiff(ArrayRef<const uint8_t>(expected_thunk_code), thunk_code); in TestNopsAdrpInsn2AndUseHasThunk()