<div>Hi,</div>
<div> </div>
<div>I want to modify the module printing acheived by -print-module option on opt.  I want to print module name and functions ina different format for dumping on a file and then reading by a Haskell program.  My question is :</div>

<div> </div>
<div>How do I get module name from &M.  I have tried M.getName() only to find out that there is no such method defined in Module.cpp</div>
<div> </div>
<div>I intend to modify or copy runOnModule in PrintModulePass.cpp for my research.</div>
<div> </div>
<div>Surinder</div>