Displaying 20 results from an estimated 50000 matches similar to: "[LLVMdev] Is it possible to step through LLVM IR with GDB?"
2010 May 15
0
[LLVMdev] Is it possible to step through LLVM IR with GDB?
On 15/05/10 09:20, Patrick Alexander Simmons wrote:
> Is it possible to compile LLVM source in such a way that it's possible
> to step through it with GDB (and hopefully frontends like DDD as well)?
Configure with --disable-optimized
Ciao,
Duncan.
2005 Mar 28
3
Debugging Asterisk in GDB (DDD)
Hi,
I am running Asterisk on Fedora Core 3. I am trying to use DDD to debug Asterisk. However, when I attach the debugger to the Asterisk Process, the Asterisk CLI promt hangs. Does not give any output, and Asterisk stops processing calls...
What could be wrong and what is the best way to debug Asterisk...?
Appreciate pointers..
Thx a lot,
J
---------------------------------
Do you
2010 Aug 05
2
[LLVMdev] PARSEC Patch
I have completed work merging PARSEC into the LLVM test suite
infrastructure? The patch is available at
[http://zion.cs.uiuc.edu/~simmon12/parsec.patch]. If there are no
objections, would someone please commit this patch to test-suite?
Best regards,
--Patrick
2010 Mar 16
4
[LLVMdev] Getting the DSNode from a Pool Descriptor?
I figure (hopefully correctly) that I can iterate over all pool
descriptors in a program by iterating over all users of poolinit and
looking at the first argument. However, once I have a pool descriptor,
I need to get its corresponding DSNode in the function in which it is
complete (or in the global graph if it is a global). How do I do this?
Thanks,
--Patrick
2010 Feb 13
2
[LLVMdev] Taking the address of an array?
I read this before posting; however, that article says that the first
operand to this instruction must be a pointer type. The type I have is
[16 x i8*], not [16 x i8*]*.
--Patrick
Óscar Fuentes wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane.comp.compilers.llvm.devel as well.
>
> Patrick Simmons <simmon12 at illinois.edu>
2009 Jul 14
2
[LLVMdev] Quick DSA Question
Okay, are C standard library functions typically external in a fully
linked LLVM bytecode file?
--Patrick
Andrew Lenharth wrote:
> If the function is external, then DSA won't create a graph for it.
>
> Andrew
>
> On Mon, Jul 13, 2009 at 4:54 PM, Patrick Alexander
> Simmons<simmon12 at cs.uiuc.edu> wrote:
>
>> I'm noticing that DSA graphs are not
2009 Jul 13
2
[LLVMdev] Quick DSA Question
I'm noticing that DSA graphs are not created for library functions like
"puts". The bytecode file runs with lli, so I think I did my linking
okay. Is this normal, or does it mean I'm somehow not giving the
algorithm the complete program information it needs?
Thanks,
--Patrick
2009 Aug 07
2
[LLVMdev] DSA getNodeForValue() Returning NULL Sometimes
Andrew Lenharth wrote:
> On Fri, Aug 7, 2009 at 4:45 PM, Patrick Alexander
> Simmons<simmon12 at cs.uiuc.edu> wrote:
>
>> I'm iterating over all LoadInst and StoreInst-type Instructions in a
>> Function, and getNodeForValue() is sometimes returning NULL. Why is
>> this happening? Shouldn't every load from or store to memory correspond
>> to some
2009 Aug 07
2
[LLVMdev] DSA getNodeForValue() Returning NULL Sometimes
I'm iterating over all LoadInst and StoreInst-type Instructions in a
Function, and getNodeForValue() is sometimes returning NULL. Why is
this happening? Shouldn't every load from or store to memory correspond
to some DSNode?
--Patrick
2010 Aug 14
0
[LLVMdev] PARSEC Patch
Would someone please merge this for me?
--Patrick
On 08/05/10 13:43, Patrick Alexander Simmons wrote:
> I have completed work merging PARSEC into the LLVM test suite
> infrastructure? The patch is available at
> [http://zion.cs.uiuc.edu/~simmon12/parsec.patch]. If there are no
> objections, would someone please commit this patch to test-suite?
>
> Best regards,
> --Patrick
2009 Jul 07
5
[LLVMdev] Stable release of pool allocation?
I've been attempting to write my pass (which depends on DSA and pool
allocation) against the SVN trunk of LLVM and the llvm-poolalloc
project. However, I was thinking it might be better to use the latest
stable releases of these codebases. I know that this is the 2.5 branch
for LLVM, but are there any stable releases of pool allocation? If so,
would there be any disadvantage to my
2009 Jul 01
3
[LLVMdev] LLVM and Eclipse
Has anyone tried using the Eclipse CDT plugin (or another C++ IDE) to
develop code in LLVM? I'm specifically interested in getting code
completion to work.
--Patrick
2009 Feb 07
3
[LLVMdev] Problem Running llvm-suite
Hi,
I'm trying to run the tests in llvm-suite, but I've run into trouble.
First, I had the llvm-suite checkout in a directory alongside the llvm
compiler checkout, but, when I ran "make" from llvm-suite, it complained
about there not being a Makefile two levels above it, so I moved
llvm-suite into the "test" subdirectory inside the llvm compiler
checkout. I ran
2009 Jul 13
0
[LLVMdev] Quick DSA Question
If the function is external, then DSA won't create a graph for it.
Andrew
On Mon, Jul 13, 2009 at 4:54 PM, Patrick Alexander
Simmons<simmon12 at cs.uiuc.edu> wrote:
> I'm noticing that DSA graphs are not created for library functions like
> "puts". The bytecode file runs with lli, so I think I did my linking
> okay. Is this normal, or does it mean I'm
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Thanks for all your help so far.
My problem is that what I have are the pool descriptors, which I by
traversing the uses of poolinit and accessing the first argument of each
call. I need to find the DSNode (in the original function) to which
this pool descriptor corresponds. The rub is that this pool descriptor
of course does not exist except in the clone.
If I call getFuncInfo(), I get a
2009 Oct 24
2
ifelse
When I run this code from an R-script:
ddd = 360 + round ( atan2(-u,-v) / d2r )
print(class(ddd))
print(ddd)
ifelse ( ddd>360, ddd-360, ddd )
print(ddd)
I get this output:
[1] "numeric"
[1] 461 213 238 249 251
[1] 461 213 238 249 251
Why does ifelse not change the 461 to 101?
I recreated the vector ddd and ran the same ifelse
code
2009 Aug 07
0
[LLVMdev] DSA getNodeForValue() Returning NULL Sometimes
On Fri, Aug 7, 2009 at 4:45 PM, Patrick Alexander
Simmons<simmon12 at cs.uiuc.edu> wrote:
> I'm iterating over all LoadInst and StoreInst-type Instructions in a
> Function, and getNodeForValue() is sometimes returning NULL. Why is
> this happening? Shouldn't every load from or store to memory correspond
> to some DSNode?
Not if the pointer is null or the pointer
2010 Mar 17
1
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Depending on the value of dsa_pass_to_use, either EquivBUDataStructures
or EQTDDataStructures is used. In the case that the top-down DSA is
used, information is pushed down to nodes in callees. However,
if bottom-up DSA is used, information has only been merged upwards and
the nodes are not necessarily equivalent.
Harmen
Andrew Lenharth wrote:
> On Tue, Mar 16, 2010 at 3:46 PM, Patrick
2012 Dec 28
2
[LLVMdev] Newbie question(?): How to correctly create debug info, when generating IR
Hello all,
Summary & Context:
-------------------------------
I am starting to write a front-end for some domain specific programming
languages. Code generation seems to be working fine.
However, I am having trouble generating debug info, to be used by gdb.
The problem:
--------------------
I generate a foo.ll file, that is later compiled into an executable foo.
The foo.ll file I
2008 Feb 03
1
gdb
I am using gdb to debug a c++ library I made for R using Rcpp.
However, when I step through the code it seems to go all over the place, and some of the variables have been optimized out so I can't see their values.
How can I compile without optimization?
Also, is there any neat way to run R with gdb through emacs?
Thanks.