Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] Re: gdb for llvm"
2002 Dec 08
4
[LLVMdev] Olden BM
does anyone knows how to get the Olden BM bytecode files? We're low on
disk space and I don't want to build the whole test branch (even if i
can, which I doubt, it failed last time i tried).
2002 Nov 01
2
[LLVMdev] totally lost
Dear LLVM:
I wrote a small testcase and I can compiler and run it with gcc, But with
llvm, I got weird error like the following. I really don't know what's
going on. Could you explain? Thanks a lot -Jerry
Error Message:
xli3|csil-suna38|~/mp2|[25]% llvmgcc testcase3.c
testcase3.c: In function `init':
testcase3.c:5: warning: cast to pointer from integer of different size
2002 Nov 14
1
[LLVMdev] problem checking out llvm
When I check out llvm this morning. I got this error, so I couldn't check
out. Looks like the disk is full.. Please let me know how to fix this
problem.
Thanks,
xiaodong
xli3|csil-suna33|/usr/dcs/projects/cs426/xli3/llvm|[10]% cvs update
cvs update: Updating .
? gnumake.out
cvs update: Updating Support
cvs update: Updating include
cvs update: Updating include/Support
cvs update: cannot close
2010 Apr 19
0
[LLVMdev] Debugging using gdb
Pranav Garg wrote:
> Hi,
>
> I am trying to debug my llvm pass called -aa-eval-garg11 using gdb.
> However I am not able to establish a breakpoint in any function of my
> pass. I have compiled my
> pass with a debug build and I have also compiled the input file (using
> llvm-gcc) with the -g flag. Given below is the exact output.
>
>
> (gdb) break
2010 Apr 18
2
[LLVMdev] Debugging using gdb
Hi,
I am trying to debug my llvm pass called -aa-eval-garg11 using gdb. However
I am not able to establish a breakpoint in any function of my pass. I have
compiled my
pass with a debug build and I have also compiled the input file (using
llvm-gcc) with the -g flag. Given below is the exact output.
(gdb) break llvm::PassManager::run
Breakpoint 1 at 0x86be87c: file
2010 Apr 20
1
[LLVMdev] Debugging using gdb
Hi John,
Yes, it was the problem of the namespace. Sorry for bugging for such a silly
mistake.
Thanks
Pranav
On Mon, Apr 19, 2010 at 9:33 AM, John Criswell <criswell at uiuc.edu> wrote:
> Pranav Garg wrote:
>
>> Hi,
>>
>> I am trying to debug my llvm pass called -aa-eval-garg11 using gdb.
>> However I am not able to establish a breakpoint in any function of
2002 Nov 20
3
[LLVMdev] getScalarMap
> We tried that too...but still it returns an empty map.
I'm not sure what's going on then. :) I think that Vikram is planning to
update CVS soon, you might try that, as there has been significant
updates. I'm not sure why getNodeForValue would work for you but
getScalarMap doesn't... getNodeForValue USES the scalar map! :)
> We also saw that Scalar Type has been
2002 Nov 22
2
[LLVMdev] returning from function
On Fri, 22 Nov 2002, Juan Nicolas Ruiz wrote:
> It is valid that a function returns without using an Instruction::Ret
> as the last instruction?
No: http://llvm.cs.uiuc.edu/docs/LangRef.html#terminators
All basic blocks must have a terminator.
> If so, can we assume that a BasicBlock with
> no successors is an exit BB?
Yes, but you don't want to do this. Just do:
if
2007 Apr 03
3
[LLVMdev] Live Intervals vs. Live Variables
LiveVariables gives you something like liveness analysis: where each
variable is alive, that is, across each basic blocks, where it is defined,
and where it is killed.
LiveIntervals gives you a linear representation of the variables as a set
of intervals. Yes, it handle holes in the live ranges. There is a very
nice description of these analysis and related data structures here:
2002 Nov 22
3
[LLVMdev] Re: calls to exit()
On Fri, 22 Nov 2002, lee white baugh wrote:
> do calls to exit() always have a null target-function pointer? that is
> what i think i am seeing.
Currently, yes. What's actually happening is that the call gets moved to
the "globals graph". Essentially, this is due to the fact that the
function call cannot modify the local memory graph of the current
function. In cases where
2002 Oct 30
2
[LLVMdev] running out of space in /usr/dcs/projects
% df -k /usr/dcs/projects
Filesystem kbytes used avail capacity Mounted on
csil-server1:/usr/dcs/csil-projects
17332442 16991416 167702 100% /usr/dcs/projects
% date
Wed Oct 30 21:21:25 CST 2002
if anybody has good ideas on how to reduce disk usage, better speak up
now....
2004 Oct 24
2
[LLVMdev] Some question on LLVM design
On Sat, 23 Oct 2004, Misha Brukman wrote:
> > A possible view of intrinsics could be "operations that don't depend
> > on the target architecture, but instead on the language runtime". But
> > then wouldn't malloc/free be intrinsics?
>
> Good question. Due to the amount of pointer/data analysis in LLVM, it
> is often necessary to consider memory
2002 Oct 30
0
[LLVMdev] problems with llvmgcc
The problem with llvmgcc invoking as instead of llvm-as has been fixed.
3 llvm-specific executables needed to be copied into a default location
where gcc can find them if it does not find them as configured (gcc was
configured for the paths on our research machines and copied over). Let
us know if you have additional problems.
--Vikram
> -----Original Message-----
> From: llvmdev-admin
2002 Oct 31
1
[LLVMdev] problems with llvmgcc
Dear Prof. Adve,
Now I can use llvmgcc to compile a .c file into .bc file. But I still have
trouble simply run the .bc code. Below is the sequence I got when I tried.
I really don't know what's going on here. Please let me know how can I fix
it.
Thanks,
xiaodong
xli3|csil-suna48|~/cs426|[13]% llvmgcc scalarize.c -o scalarize
xli3|csil-suna48|~/cs426|[14]% scalarize
Cannot load value of
2012 Jul 24
3
stepwise in svyglm???
Hello,
I want to know how to perform stepwise elimination of variables to svyglm
thanks
[[alternative HTML version deleted]]
2002 Oct 30
2
[LLVMdev] problems with llvmgcc
Thanks, Chris,
Below is the output of 'llvmgcc he.c -v'
xli3|csil-suna27|~/cs426|[35]% llvmgcc he.c -v
Reading specs from
/usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/specs
Configured with: /home/vadve/lattner/cvs/gcc/configure
--srcdir=/home/vadve/lattner/cvs/gcc
--prefix=/home/vadve/lattner/cvs/gcc_install_sparc --target=llvm
--enable-languages=c
2004 Oct 23
0
[LLVMdev] Some question on LLVM design
On Fri, Oct 22, 2004 at 03:18:00PM +0200, Marc Ordinas i Llopis wrote:
> I'm currently looking at LLVM as a possible back-end to a dynamic
> programming system (in the tradition of Smalltalk) we are developing.
Neat!
> I have read most of the llvmdev archives, and I'm aware that some
> things are 'planned' but not implemented yet. We are willing to
> contribute
2002 Sep 28
0
[LLVMdev] Re: an error
dyn_cast<> will return NULL if i is not an AllocationInst object.
--Vikram
http://www.cs.uiuc.edu/~vadve
> From: Jianzhong Liu <jliu7 at uiuc.edu>
> Sender: jliu7 at cs.uiuc.edu
> Date: Sat, 28 Sep 2002 17:00:04 -0500
> Subject: an error
>
> I keep getting a core dump error for:
>
> ...
> const Type *opType =
2002 Nov 30
1
[LLVMdev] How to get a Module DSGraph?
I've been trying to obtain a DSGraph for a complete module, but
haven't succeeded. I tried
- getting the DSGraph for each function, and copying the nodes to a
Module graph. But since there are no nodehandles, apparently there is
no merging of nodes.
- modifying BUDataStructure Pass so that it will not execute
removeDeadNodes() or removeTriviallyDeadNodes().
- couldn't get
2002 Nov 24
4
[LLVMdev] globals in DS graph
I have some questions regarding how globals are represented in DS graph.
Specifically, I wrote the following simple program:
List *g;
void alloc_func(){
g = ( List* ) malloc( sizeof( List ) );
}
void free_func(){
free( g );
}
int main(){
alloc_func();
free_func();
}
I noticed that the DSnode for g in alloc_func is different from that of
free_func and NEITHER of them had GlobalNode