search for: gargaa24

Displaying 4 results from an estimated 4 matches for "gargaa24".

2013 Mar 05
5
[LLVMdev] LLVM load instruction query
HI, I am creating a pass that will pass loaded value by load instruction to an external function. I don't know how to do it.Please Help.
2013 Mar 05
0
[LLVMdev] LLVM load instruction query
...mmon segfaults in LLVM are due 1. reference a NULL pointer...put if statements that check if the structures that you have are NULL 2. check your boundaries or arrays, if for example the number of operands is 2 and you have getOperand(2), here it is. On Tue, Mar 5, 2013 at 12:31 PM, Anshul Garg <gargaa24 at gmail.com> wrote: > Thanks for reply. > Ya i posted same question on that also. > Error at the time of running opt -load Error is: a at ubuntu:~/Desktop$ > ./myscript llvm[0]: Compiling printFunc.cpp for Release+Asserts build (PIC) > llvm[0]: Linking Release+Asserts Loadable M...
2013 Mar 05
0
[LLVMdev] LLVM load instruction query
Try : INITIALIZE a1 if you didnt. if (cpProf EXISTS){ CallInst* newInst = CallInst::Create(cpProf,a1,""); if (BB->getTerminator() && CI) BB->getInstList().insert((Instruction*)CI, newInst); On Tue, Mar 5, 2013 at 1:04 PM, Anshul Garg <gargaa24 at gmail.com> wrote: > CallInst* newInst = CallInst::Create(cpProf,a1,""); > BB->getInstList().insert((Instruction*)CI, newInst); > > these two lines when i comment there is no segmentation fault. > > > On Tue, Mar 5, 2013 at 4:02 AM, Alexandru Ionut Diaconesc...
2013 Mar 06
1
[LLVMdev] LLVM load instruction query
Duncan Sands <baldrick <at> free.fr> writes: > > Hi Anshul, > > > I am creating a pass that will pass loaded value by load instruction to an > > external function. > > I don't know how to do it.Please Help. > > your question is too vague for anyone to be able to help you. Add details, > for example provide the code for your pass. > >