Home | History | Annotate | Download | only in MC

Lines Matching refs:Module

37   MCModule *Module = new MCModule;
38 buildSectionAtoms(Module);
40 buildCFG(Module);
41 return Module;
44 void MCObjectDisassembler::buildSectionAtoms(MCModule *Module) {
73 MCTextAtom *Text = Module->createTextAtom(StartAddr, EndAddr);
87 MCDataAtom *Data = Module->createDataAtom(StartAddr, EndAddr);
112 void MCObjectDisassembler::buildCFG(MCModule *Module) {
119 assert(Module->func_begin() == Module->func_end()
120 && "Module already has a CFG!");
123 for (MCModule::atom_iterator AI = Module->atom_begin(),
124 AE = Module->atom_end();
146 MCAtom *A = Module->findAtomContaining(*SI);
159 for (MCModule::atom_iterator AI = Module->atom_begin(),
160 AE = Module->atom_end();
183 MCFunction &MCFN = *Module->createFunction(BBI.Atom->getName());