All, <div><br></div><div>I have a ModulePass (A) calling a FunctionPass that inturn calls TargetData (a ModulePass). For reasons of code correctness and modularity I cannot reorganize my passes in any other way . </div><div>
<br></div><div>When I use opt to load and run A , it gives the following error. </div><div><br></div><div>LLVM ERROR: Bad TargetData ctor used.  Tool did not specify a TargetData to use?</div><div><br></div><div><br></div>
<div>I gather from some previous emails that this was not supported. Is it still not supported? and is there any way I can avoid this. </div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks and Regards</div>
<div><br></div><div><br></div><div>Aparna Kotha </div><div><br></div><div>Graduate Student </div><div>University of Maryland, College Park </div><div><br></div>