Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/unittests/
DELFReaderTest.cpp137 RelocData::const_iterator rReloc = rRelocs.begin(); in TEST_F() local
139 ASSERT_TRUE(rRelocs.end() != rReloc); in TEST_F()
140 ++rReloc; /// test rRelocs[1] in TEST_F()
141 ASSERT_EQ("puts", std::string(rReloc->symInfo()->name())); in TEST_F()
142 ASSERT_EQ(llvm::ELF::R_X86_64_PC32, rReloc->type()); in TEST_F()
143 ASSERT_EQ(0x0u, rReloc->symValue()); in TEST_F()
144 ASSERT_EQ(static_cast<mcld::Relocation::Address>(-0x4), rReloc->addend()); in TEST_F()