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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130420/5661ac81/attachment.html>
This is a compile time error? On 04/20/2013 11:32 AM, 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 > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
On 4/20/13 1:32 PM, 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}It's hard to tell without seeing the code, but it looks like the definition of your ID variable isn't in the correct namespace. -- John T.> > please help me > > > _______________________________________________ > 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/63c6b429/attachment.html>
Reasonably Related Threads
- [LLVMdev] pass registration
- [LLVMdev] (no subject)
- [LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
- [LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue - now the internal compiler error issue.
- [LLVMdev] Interactions between module and loop passes