search for: llvm_3

Displaying 13 results from an estimated 13 matches for "llvm_3".

Did you mean: llvm33
2010 Apr 11
0
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
...n someone help me with error while i make my own pass > > > Hi, > > I have added LoaderInterface pass in llvm code and then I invoke this > pass in other pass. Iget the following error: > > llvm[0]: Linking Release Loadable Module MyDfg.so > /usr/bin/ld: /home/ambika/llvm_3/llvm-obj/lib/ss-fs/Release/MyDfg.o: > relocation R_386_GOTOFF against undefined symbol `(anonymous > namespace)::LoaderInterface::ID' can not be used when making a shared object > /usr/bin/ld: final link failed: Bad value > collect2: ld returned 1 exit status > make: *** [/home...
2010 Apr 11
2
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
-------------- next part -------------- An embedded message was scrubbed... From: ambika <ambika at cse.iitb.ac.in> Subject: [LLVMdev] Can someone help me with error while i make my own pass Date: Thu, 08 Apr 2010 21:40:25 +0530 Size: 4901 URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100411/33876147/attachment.eml>
2010 Apr 12
1
[LLVMdev] [Fwd: Can someone help me with error while i make my own pass]
...my >> own pass* >> >> >> Hi, >> >> I have added LoaderInterface pass in llvm code and then I invoke this >> pass in other pass. Iget the following error: >> >> llvm[0]: Linking Release Loadable Module MyDfg.so >> /usr/bin/ld: /home/ambika/llvm_3/llvm-obj/lib/ss-fs/Release/MyDfg.o: >> relocation R_386_GOTOFF against undefined symbol `(anonymous >> namespace)::LoaderInterface::ID' can not be used when making a shared >> object >> /usr/bin/ld: final link failed: Bad value >> collect2: ld returned 1 exit stat...
2010 Jun 04
4
[LLVMdev] Duplicating a Basic Block
...lier from my another ID about duplicating a basic block, but that server is down for moment. I was given suggestion to use CloneBasicBlock, but when I used it I get an error : While deleting: i32* %a Use still stuck around after Def is destroyed: store i32* %a, i32** %p, align 4 opt: /home/ambika/llvm_3/llvm-2.6/lib/VMCore/Value.cpp:81: virtual llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a value is destroyed!"' failed. 0 opt 0x08471218 Aborted This message is printed inside destructor of class value . Now I dont understand that after all the instruc...
2010 May 08
0
[LLVMdev] [Fwd: Error while running my pass with opt]
But this is already present in my pass. And I am not able to understand the cause for the error: opt: /home/ambika/llvm_3/llvm-2.6/include/llvm/PassAnalysisSupport.h:203: AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const [with AnalysisType = llvm::DominatorTree]: Assertion `ResultPass && "getAnalysis*() called on an analysis that was not " "'required' by pass!&...
2010 May 08
3
[LLVMdev] [Fwd: Error while running my pass with opt]
Hi, you need something like this in your pass: void YourPass::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<DominatorTree>(); } because you need to specify which analysis you are using. Tobi
2010 Jun 04
0
[LLVMdev] Duplicating a Basic Block
...ng a basic block, but > that server is down for moment. > I was given suggestion to use CloneBasicBlock, but when I used it I get an > error : > > While deleting: i32* %a > Use still stuck around after Def is destroyed:  store i32* %a, i32** %p, > align 4 > opt: /home/ambika/llvm_3/llvm-2.6/lib/VMCore/Value.cpp:81: virtual > llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a value > is destroyed!"' failed. > 0   opt 0x08471218 > Aborted > > This message is printed inside destructor of class value  . > Now I dont und...
2010 May 09
2
[LLVMdev] [Fwd: Error while running my pass with opt]
...anager. Requiring a BasicBlock pass from a FunctionPass might also hit assertions within PassManager (I think). If you post your getAnalysisUsage() method, I can take a quick look to see if you're doing something that I know is unsupported by PassManager. -- John T. > opt: /home/ambika/llvm_3/llvm-2.6/include/llvm/PassAnalysisSupport.h:203: > AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const > [with AnalysisType = llvm::DominatorTree]: Assertion `ResultPass && > "getAnalysis*() called on an analysis that was not " "'required&...
2010 Apr 08
0
[LLVMdev] Can someone help me with error while i make my own pass
Hi, I have added LoaderInterface pass in llvm code and then I invoke this pass in other pass. Iget the following error: llvm[0]: Linking Release Loadable Module MyDfg.so /usr/bin/ld: /home/ambika/llvm_3/llvm-obj/lib/ss-fs/Release/MyDfg.o: relocation R_386_GOTOFF against undefined symbol `(anonymous namespace)::LoaderInterface::ID' can not be used when making a shared object /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make: *** [/home/ambika/llvm_3/llvm-obj/R...
2010 May 10
2
[LLVMdev] [Fwd: Error while running my pass with opt]
...nager (I >> think). >> >> If you post your getAnalysisUsage() method, I can take a quick look to >> see if you're doing something that I know is unsupported by PassManager. >> >> -- John T. >> >> >>> opt: >>> /home/ambika/llvm_3/llvm-2.6/include/llvm/PassAnalysisSupport.h:203: >>> AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const >>> [with AnalysisType = llvm::DominatorTree]: Assertion `ResultPass && >>> "getAnalysis*() called on an analysis that was not &qu...
2010 May 09
0
[LLVMdev] [Fwd: Error while running my pass with opt]
...nctionPass might also hit assertions within PassManager (I > think). > > If you post your getAnalysisUsage() method, I can take a quick look to > see if you're doing something that I know is unsupported by PassManager. > > -- John T. > >> opt: >> /home/ambika/llvm_3/llvm-2.6/include/llvm/PassAnalysisSupport.h:203: >> AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const >> [with AnalysisType = llvm::DominatorTree]: Assertion `ResultPass && >> "getAnalysis*() called on an analysis that was not " "...
2010 May 11
0
[LLVMdev] [Fwd: Error while running my pass with opt]
...t;>> >>> If you post your getAnalysisUsage() method, I can take a quick look to >>> see if you're doing something that I know is unsupported by PassManager. >>> >>> -- John T. >>> >>> >>>> opt: >>>> /home/ambika/llvm_3/llvm-2.6/include/llvm/PassAnalysisSupport.h:203: >>>> AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const >>>> [with AnalysisType = llvm::DominatorTree]: Assertion `ResultPass&& >>>> "getAnalysis*() called on an analysis that wa...
2010 May 07
0
[LLVMdev] Error while running my pass with opt
Hi, When I try to run my pass with opt , I get the following error : opt: /home/ambika/llvm_3/llvm-2.6/include/llvm/PassAnalysisSupport.h:203: AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const [with AnalysisType = llvm::DominatorTree]: Assertion `ResultPass && "getAnalysis*() called on an analysis that was not " "'required' by pass!&...