Searched refs:ef (Results 1 – 1 of 1) sorted by relevance
/art/compiler/ |
D | elf_writer_test.cc | 34 #define EXPECT_ELF_FILE_ADDRESS(ef, expected_value, symbol_name, build_map) \ argument 36 void* addr = reinterpret_cast<void*>(ef->FindSymbolAddress(SHT_DYNSYM, \ 45 EXPECT_EQ(expected_value, ef->FindDynamicSymbolAddress(symbol_name)); \ 91 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); in TEST_F() local 92 CHECK(ef.get() != nullptr) << error_msg; in TEST_F() 93 EXPECT_ELF_FILE_ADDRESS(ef, dl_oatdata, "oatdata", false); in TEST_F() 94 EXPECT_ELF_FILE_ADDRESS(ef, dl_oatexec, "oatexec", false); in TEST_F() 95 EXPECT_ELF_FILE_ADDRESS(ef, dl_oatlastword, "oatlastword", false); in TEST_F() 99 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), false, false, &error_msg)); in TEST_F() local 100 CHECK(ef.get() != nullptr) << error_msg; in TEST_F() [all …]
|