[LLVMdev] Pass Ordering
kotha.aparna at gmail.com
Fri Aug 13 10:10:13 PDT 2010
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 .
When I use opt to load and run A , it gives the following error.
LLVM ERROR: Bad TargetData ctor used. Tool did not specify a TargetData to
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.
Thanks and Regards
University of Maryland, College Park
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev