Lines Matching refs:m_pModule

58       m_pModule(NULL),  in ObjectLinker()
81 m_pModule = &pModule; in initialize()
86 m_pArchiveReader = m_LDBackend.createArchiveReader(*m_pModule); in initialize()
89 m_pGroupReader = new GroupReader(*m_pModule, in initialize()
106 ObjectBuilder builder(*m_pModule); in initStdSections()
113 m_LDBackend.initTargetSections(*m_pModule, builder); in initStdSections()
125 m_pModule->getNamePool().insertSymbol(*usym, // name in addUndefinedSymbols()
148 Module::input_iterator input, inEnd = m_pModule->input_end(); in normalize()
149 for (input = m_pModule->input_begin(); input != inEnd; ++input) { in normalize()
165 m_pModule->getObjectList().push_back(*input); in normalize()
170 m_pModule->getLibraryList().push_back(*input); in normalize()
179 m_pModule->getObjectList().push_back(*input); in normalize()
187 m_pModule->getObjectList().push_back(*input); in normalize()
194 m_pModule->getLibraryList().push_back(*input); in normalize()
205 m_pModule->getInputTree().merge<InputTree::Inclusive>(input, in normalize()
215 script.activate(*m_pModule); in normalize()
217 m_pModule->getInputTree().merge<InputTree::Inclusive>( in normalize()
231 if (m_pModule->getInputTree().empty()) { in linkable()
237 Module::const_lib_iterator lib, libEnd = m_pModule->lib_end(); in linkable()
238 for (lib = m_pModule->lib_begin(); lib != libEnd; ++lib) { in linkable()
271 GarbageCollection GC(m_Config, m_LDBackend, *m_pModule); in dataStrippingOpt()
277 IdenticalCodeFolding icf(m_Config, m_LDBackend, *m_pModule); in dataStrippingOpt()
290 inEnd = m_pModule->getInputTree().bfs_end(); in readRelocations()
291 for (input = m_pModule->getInputTree().bfs_begin(); input != inEnd; ++input) { in readRelocations()
304 m_LDBackend.preMergeSections(*m_pModule); in mergeSections()
308 RpnEvaluator evaluator(*m_pModule, m_LDBackend); in mergeSections()
310 outBegin = m_pModule->getScript().sectionMap().begin(); in mergeSections()
311 outEnd = m_pModule->getScript().sectionMap().end(); in mergeSections()
338 ObjectBuilder builder(*m_pModule); in mergeSections()
339 Module::obj_iterator obj, objEnd = m_pModule->obj_end(); in mergeSections()
340 for (obj = m_pModule->obj_begin(); obj != objEnd; ++obj) { in mergeSections()
362 if (!m_LDBackend.mergeSection(*m_pModule, **obj, **sect)) { in mergeSections()
408 outBegin = m_pModule->getScript().sectionMap().begin(); in mergeSections()
409 outEnd = m_pModule->getScript().sectionMap().end(); in mergeSections()
426 LDSection* target = m_pModule->getSection((*out)->name()); in mergeSections()
438 m_LDBackend.postMergeSections(*m_pModule); in mergeSections()
501 Module::iterator iter, iterEnd = m_pModule->end(); in addStandardSymbols()
502 for (iter = m_pModule->begin(); iter != iterEnd; ++iter) { in addStandardSymbols()
503 m_pModule->getSectionSymbolSet().add(**iter, m_pModule->getNamePool()); in addStandardSymbols()
506 return m_LDBackend.initStandardSymbols(*m_pBuilder, *m_pModule); in addStandardSymbols()
514 m_LDBackend.initTargetSymbols(*m_pBuilder, *m_pModule); in addTargetSymbols()
521 LinkerScript& script = m_pModule->getScript(); in addScriptSymbols()
531 ResolveInfo* old_info = m_pModule->getNamePool().findInfo(symName); in addScriptSymbols()
583 Module::obj_iterator input, inEnd = m_pModule->obj_end(); in scanRelocations()
584 for (input = m_pModule->obj_begin(); input != inEnd; ++input) { in scanRelocations()
609 *relocation, *m_pBuilder, *m_pModule, **rs, **input); in scanRelocations()
612 *relocation, *m_pModule); in scanRelocations()
639 return m_LDBackend.allocateCommonSymbols(*m_pModule); in allocateCommonSymbols()
647 Module::iterator sect, sEnd = m_pModule->end(); in prelayout()
648 for (sect = m_pModule->begin(); sect != sEnd; ++sect) { in prelayout()
649 m_pModule->getSectionSymbolSet().finalize( in prelayout()
651 m_pModule->getSymbolTable(), in prelayout()
655 m_LDBackend.preLayout(*m_pModule, *m_pBuilder); in prelayout()
672 m_LDBackend.sizeNamePools(*m_pModule); in prelayout()
675 LDSection* eh_frame_sect = m_pModule->getSection(".eh_frame"); in prelayout()
678 m_LDBackend.createAndSizeEhFrameHdr(*m_pModule); in prelayout()
686 LDSection* debug_str_sect = m_pModule->getSection(".debug_str"); in prelayout()
699 m_LDBackend.layout(*m_pModule); in layout()
705 m_LDBackend.postLayout(*m_pModule, *m_pBuilder); in postlayout()
714 Module::sym_iterator symbol, symEnd = m_pModule->sym_end(); in finalizeSymbolValue()
715 for (symbol = m_pModule->sym_begin(); symbol != symEnd; ++symbol) { in finalizeSymbolValue()
741 RpnEvaluator evaluator(*m_pModule, m_LDBackend); in finalizeSymbolValue()
744 LinkerScript& script = m_pModule->getScript(); in finalizeSymbolValue()
784 LDSection* debug_str_sect = m_pModule->getSection(".debug_str"); in relocation()
787 Module::obj_iterator input, inEnd = m_pModule->obj_end(); in relocation()
788 for (input = m_pModule->obj_begin(); input != inEnd; ++input) { in relocation()
851 return std::error_code() == getWriter()->writeObject(*m_pModule, pOutput); in emitOutput()
872 Module::obj_iterator input, inEnd = m_pModule->obj_end(); in normalSyncRelocationResult()
873 for (input = m_pModule->obj_begin(); input != inEnd; ++input) { in normalSyncRelocationResult()
931 Module::iterator sectIter, sectEnd = m_pModule->end(); in partialSyncRelocationResult()
932 for (sectIter = m_pModule->begin(); sectIter != sectEnd; ++sectIter) { in partialSyncRelocationResult()