search for: nbg2k7

Displaying 11 results from an estimated 11 matches for "nbg2k7".

2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
...s mail. Thanks, Nehal. -----Original Message----- From: Eli Friedman [mailto:eli.friedman at gmail.com] Sent: Friday, June 04, 2010 3:39 AM To: Nehal Gandhi Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Inserting a function call into bitcode On Fri, Jun 4, 2010 at 12:09 AM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: > On Thu, Jun 3, 2010 at 10:45 PM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: >>> Hi Eli, >>> >>> Thanks for that. Rookie mistake on my side. It solves the linking issue. >>> However, it was not the main problem. The problem is whe...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
On Fri, Jun 4, 2010 at 1:09 AM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: > Hi Eli, > > I have attached a tar file containing Pass (ConditionPass.cpp), External > function (PrintRes.cpp) and test program (try.c). I use command chain as > describe in previous mail. Can you just attach the final program.bc you pass to lli? I don'...
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
On Thu, Jun 3, 2010 at 10:45 PM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: >> Hi Eli, >> >> Thanks for that. Rookie mistake on my side. It solves the linking issue. >> However, it was not the main problem. The problem is when I execute the >> linked file ( modified bitcode + file containing the function), I get an >...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
On Fri, Jun 4, 2010 at 12:09 AM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: > On Thu, Jun 3, 2010 at 10:45 PM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: >>> Hi Eli, >>> >>> Thanks for that. Rookie mistake on my side. It solves the linking issue. >>> However, it was not the main problem. The problem is whe...
2010 Jun 04
1
[LLVMdev] Inserting a function call into bitcode
Here you go. -----Original Message----- From: Eli Friedman [mailto:eli.friedman at gmail.com] Sent: Friday, June 04, 2010 7:42 AM To: Nehal Gandhi Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Inserting a function call into bitcode On Fri, Jun 4, 2010 at 1:09 AM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: > Hi Eli, > > I have attached a tar file containing Pass (ConditionPass.cpp), External > function (PrintRes.cpp) and test program (try.c). I use command chain as > describe in previous mail. Can you just attach the final program.bc you pass to lli? I don'...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
On Thu, Jun 3, 2010 at 10:45 PM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: > Hi Eli, > > > > Thanks for that. Rookie mistake on my side. It solves the linking issue. > However, it was not the main problem. The problem is when I execute the > linked file ( modified bitcode + file containing the function), I get an > assertion...
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
Hi Eli, Thanks for that. Rookie mistake on my side. It solves the linking issue. However, it was not the main problem. The problem is when I execute the linked file ( modified bitcode + file containing the function), I get an assertion error - Assertion `Addr && "Code generation didn't add function to GlobalAddress table!"' failed. So my main concern - is that a
2010 May 25
1
[LLVMdev] DEBUG INFO at the bytecode level
Devang Patel <devang.patel <at> gmail.com> writes: > > 2010/5/18 Zheng Wang <jason.wangz <at> gmail.com>: > > > > I found DebugInfo.cpp may be useful. Could you tell me which function > > I should call inorder to know the source file name and the line number > > for a particular instruction? > > > > See
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
On Thu, Jun 3, 2010 at 9:43 PM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: > Hi All, > > > > I am trying to write code for simple instrumentation. What I want to do is > to insert a call to an external function for result of each conditional > branch instruction. This external function simply print true or false based > on t...
2010 Jun 04
5
[LLVMdev] Inserting a function call into bitcode
Hi All, I am trying to write code for simple instrumentation. What I want to do is to insert a call to an external function for result of each conditional branch instruction. This external function simply print true or false based on the result of condition. The modified code is then written into new file. However when I try to link that file with another bitcode file (containing external
2010 Jun 04
3
[LLVMdev] Inserting a function call into bitcode
Hi Nick I am not quite sure what you meant by verifier. I checked online documents and found that there is a function verifyAnalysis() in Pass but it is empty. So do you suggest implementing that function? If it is the case, what should I look while implementing that function? Or something else altogether? Thanks, Nehal. -----Original Message----- From: Nick Lewycky [mailto:nicholas at mxc.ca]