Lines Matching refs:m_pModule
43 m_pModule(NULL),
67 m_pModule = &pModule;
71 m_pModule->setName(m_Config.options().soname());
81 *m_pModule,
89 m_pArchiveReader = m_LDBackend.createArchiveReader(*m_pModule);
91 m_pGroupReader = new GroupReader(*m_pModule, *m_pObjectReader,
104 ObjectBuilder builder(m_Config, *m_pModule);
111 m_LDBackend.initTargetSections(*m_pModule, builder);
119 Module::input_iterator input, inEnd = m_pModule->input_end();
120 for (input = m_pModule->input_begin(); input!=inEnd; ++input) {
135 m_pModule->getObjectList().push_back(*input);
140 m_pModule->getLibraryList().push_back(*input);
148 m_pModule->getObjectList().push_back(*input);
156 m_pModule->getObjectList().push_back(*input);
163 m_pModule->getLibraryList().push_back(*input);
171 m_pModule->getInputTree().merge<InputTree::Inclusive>(input,
185 if (m_pModule->getInputTree().empty()) {
191 Module::const_lib_iterator lib, libEnd = m_pModule->lib_end();
192 for (lib = m_pModule->lib_begin(); lib != libEnd; ++lib) {
225 mcld::InputTree::bfs_iterator input, inEnd = m_pModule->getInputTree().bfs_end();
226 for (input=m_pModule->getInputTree().bfs_begin(); input!=inEnd; ++input) {
239 ObjectBuilder builder(m_Config, *m_pModule);
240 Module::obj_iterator obj, objEnd = m_pModule->obj_end();
241 for (obj = m_pModule->obj_begin(); obj != objEnd; ++obj) {
255 if (!m_LDBackend.mergeSection(*m_pModule, **sect)) {
304 Module::iterator iter, iterEnd = m_pModule->end();
305 for (iter = m_pModule->begin(); iter != iterEnd; ++iter) {
306 m_pModule->getSectionSymbolSet().add(**iter, m_pModule->getNamePool());
309 return m_LDBackend.initStandardSymbols(*m_pBuilder, *m_pModule);
318 m_LDBackend.initTargetSymbols(*m_pBuilder, *m_pModule);
334 Module::obj_iterator input, inEnd = m_pModule->obj_end();
335 for (input = m_pModule->obj_begin(); input != inEnd; ++input) {
350 m_LDBackend.scanRelocation(*relocation, *m_pBuilder, *m_pModule, **rs);
352 m_LDBackend.partialScanRelocation(*relocation, *m_pModule, **rs);
379 return m_LDBackend.allocateCommonSymbols(*m_pModule);
388 Module::iterator sect, sEnd = m_pModule->end();
389 for (sect = m_pModule->begin(); sect != sEnd; ++sect) {
390 m_pModule->getSectionSymbolSet().finalize(**sect, m_pModule->getSymbolTable());
393 m_LDBackend.preLayout(*m_pModule, *m_pBuilder);
408 m_LDBackend.sizeNamePools(*m_pModule, m_Config.isCodeStatic());
420 m_LDBackend.layout(*m_pModule);
427 m_LDBackend.postLayout(*m_pModule, *m_pBuilder);
452 return llvm::errc::success == getWriter()->writeObject(*m_pModule, pOutput);