[LLVMdev] pass registration

Cristianno Martins cristiannomartins at gmail.com
Sat Apr 20 21:43:17 PDT 2013


I think this could help you out: http://llvm.org/docs/WritingAnLLVMPass.html#writing-an-llvm-pass-basiccode 

-- 
Cristianno Martins


On Sunday, 21 de April de 2013 at 01:39, atul gurale wrote:

> hello sir 
> 
> i have created LoopPass but now i am facing problem in Registering that pass.
> 
> I read all the documents & followed the procedure but its giving error.
> 
> Can you tell me what is the right way to register a pass.
> 
> I am getting errors like 
> 
> char::ID=0 "ID" is not in the scope
> 
> {anonymous::PrintLoopPass something like}
> 
> please help me..
> 
> YES SIR IT IS A COMPILE TIME ERROR... 
> 
> Please tell me the exact syntax/ template for registering a pass... 
> 
> I am Using LOOPPASS.cpp which is directly available on llvm site...
> 
> If there is any error in that file will anybody help me to find the exact LOOPPASS file.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130421/d73af9db/attachment.html>


More information about the llvm-dev mailing list