Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/lib/LD/
DELFDynObjReader.cpp33 : DynObjReader(), m_pELFReader(0), m_Builder(pBuilder) { in ELFDynObjReader()
35 m_pELFReader = new ELFReader<32, true>(pBackend); in ELFDynObjReader()
37 m_pELFReader = new ELFReader<64, true>(pBackend); in ELFDynObjReader()
41 delete m_pELFReader; in ~ELFDynObjReader()
50 size_t hdr_size = m_pELFReader->getELFHeaderSize(); in isMyFormat()
59 if (!m_pELFReader->isELF(ELF_hdr)) { in isMyFormat()
62 } else if (Input::DynObj != m_pELFReader->fileType(ELF_hdr)) { in isMyFormat()
65 } else if (!m_pELFReader->isMyEndian(ELF_hdr)) { in isMyFormat()
68 } else if (!m_pELFReader->isMyMachine(ELF_hdr)) { in isMyFormat()
79 size_t hdr_size = m_pELFReader->getELFHeaderSize(); in readHeader()
[all …]
DELFObjectReader.cpp39 m_pELFReader(NULL), in ELFObjectReader()
46 m_pELFReader = new ELFReader<32, true>(pBackend); in ELFObjectReader()
49 m_pELFReader = new ELFReader<64, true>(pBackend); in ELFObjectReader()
57 delete m_pELFReader; in ~ELFObjectReader()
67 size_t hdr_size = m_pELFReader->getELFHeaderSize(); in isMyFormat()
76 if (!m_pELFReader->isELF(ELF_hdr)) { in isMyFormat()
79 } else if (Input::Object != m_pELFReader->fileType(ELF_hdr)) { in isMyFormat()
82 } else if (!m_pELFReader->isMyEndian(ELF_hdr)) { in isMyFormat()
85 } else if (!m_pELFReader->isMyMachine(ELF_hdr)) { in isMyFormat()
96 size_t hdr_size = m_pELFReader->getELFHeaderSize(); in readHeader()
[all …]
/frameworks/compile/mclinker/unittests/
DELFReaderTest.cpp40 m_pELFReader = new ELFReader<64, true>(*m_pLDBackend); in ELFReaderTest()
51 delete m_pELFReader; in ~ELFReaderTest()
67 size_t hdr_size = m_pELFReader->getELFHeaderSize(); in SetUp()
71 bool shdr_result = m_pELFReader->readSectionHeaders(*m_pInput, ELF_hdr); in SetUp()
114 bool result = m_pELFReader->readSymbols( in TEST_F()
133 ASSERT_TRUE(m_pELFReader->readRela(*m_pInput, **rs, region)); in TEST_F()
DELFReaderTest.h48 mcld::ELFReaderIF* m_pELFReader; variable
/frameworks/compile/mclinker/include/mcld/LD/
DELFDynObjReader.h41 ELFReaderIF* m_pELFReader;
DELFObjectReader.h59 ELFReaderIF* m_pELFReader;