Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] VmKit Question."
2009 Jul 09
5
[LLVMdev] Source file information.
Hi,
I am new to LLVM, and need to find the line number and cpp source file name
for each instruction in a .bc file. I suppose llvm debugger might have that
feature but there is no documentation on it. Would you please give me some
help how to do it?
Thanks,
::Saman Zonouz
University of Illinois
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Dec 06
2
[LLVMdev] How to run vmjc created .bc files?
Hi,
What do I need to link with vmjc created .bc files to actually run
the .bc file? I tried running with lli but only got:
LLVM ERROR: Program used external function 'StartJnjvmWithoutJIT' which
could not be resolved!
Thanks,
Michael
2009 Dec 08
2
[LLVMdev] How to run vmjc created .bc files?
Hi,
Thanks a lot for the help! I am getting some errors though:
I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong
architecture from the module bitcode and spits out x86_64 assembly. I
fixed this by adding "-march=x86" to the llc options in llcj.
gcc doesn't know what -lgc is. I'm guessing it is the garbage collection
library. How can I get it or
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
Hi Michael,
Currently, you can run vmjc created .bc files by statically linking them
with all the .o needed files. For that, you can use the llcj tool, which
works more or less like GCC's gcj tool.
Note that you also need to create the libvmjc.so file, which contains the
standard library in native form. Do a make in the tools/vmjc/libvmjc
directory. Once this is done, update the
2009 Jul 09
0
[LLVMdev] Source file information.
Thanks for your reply. Is it not possible to do with llvm-g++ -g?
and furthermore, where are SDNode and DebugLoc fields stored? are they in a
file which I have to parse myself? if so, is there any way that I use a
library to get the file/line information for each instruction? since, I am
writing a pass for opt tool that manipulates the callgraph and want to get
the line number information in
2009 Dec 09
2
[LLVMdev] How to run vmjc created .bc files?
Hi,
I've managed to compile it the class down to a native executable.
However, the executable runs for a while then spits out:
terminate called without an active exception
Aborted
and dies.
The program never gets to the normal output.
Here is a stack trace from gdb:
#0 0xf3f6baa6 in raise () from /lib/libc.so.6
#1 0xf3f6d3a8 in abort () from /lib/libc.so.6
#2 0xf41918f8 in
2009 Dec 08
0
[LLVMdev] How to run vmjc created .bc files?
Hi Michael,
On Tue, Dec 8, 2009 at 6:26 PM, Michael Wu <mmwu at princeton.edu> wrote:
> Hi,
>
> Thanks a lot for the help! I am getting some errors though:
>
> I am on a 32 bit chroot on a x86_64 system. Thus llc guesses the wrong
> architecture from the module bitcode and spits out x86_64 assembly. I fixed
> this by adding "-march=x86" to the llc options
2009 Jul 09
3
[LLVMdev] Source file information.
>> -----Original Message-----
>> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On
>> Behalf Of Saman Aliari Zonouz
>> Sent: Thursday, July 09, 2009 11:44 AM
>> To: llvmdev at cs.uiuc.edu
>> Subject: [LLVMdev] Source file information.
>>
>> Hi,
>>
>> I am new to LLVM, and need to find the line number
2009 Jul 07
1
[LLVMdev] LLVM Question.
Hi,
I am Saman, a UIUC PhD student working with LLVM. Would you please let me
know how I can extract CG and CFG for a given application?
Thanks a lot,
::Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090707/951958b6/attachment.html>
2009 Jul 09
0
[LLVMdev] Source file information.
On 2009-07-09 11:17, Aaron Gray wrote:
>>> -----Original Message-----
>>> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
>>>
>> On
>>
>>> Behalf Of Saman Aliari Zonouz
>>> Sent: Thursday, July 09, 2009 11:44 AM
>>> To: llvmdev at cs.uiuc.edu
>>> Subject: [LLVMdev] Source file
2010 Sep 28
1
[LLVMdev] [VMKit-2.7] libvmjc.so building problem
I followed instructions in this page to setup my environment:
http://vmkit.llvm.org/get_started.html
My llvm, llvm-gcc, and vmkit are not SVN version.
All of them are downloaded from this page:
http://llvm.org/releases/download.html#2.7
GNU classpath is downloaded from:
ftp://ftp.gnu.org/gnu/classpath/classpath-0.97.2.tar.gz
PNet & PNetlib are not used because I just want the JVM.
I
2009 Jul 09
0
[LLVMdev] Source file information.
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On
> Behalf Of Saman Aliari Zonouz
> Sent: Thursday, July 09, 2009 11:44 AM
> To: llvmdev at cs.uiuc.edu
> Subject: [LLVMdev] Source file information.
>
> Hi,
>
> I am new to LLVM, and need to find the line number and cpp source file
> name for each
2009 Jul 09
5
[LLVMdev] Source file information.
Dear All,
To add to this, what you want to do is find the appropriate debug stop
point intrinsic and then use it to look up the information for that
instruction.
Here is some sample code from SAFECode that finds the debug information
associated with a CallInst (LLVM call instruction) held in the variable
CI. It uses the findStopPoint() function in llvm/Analyis/DebugInfo.h:
//
// Get the
2012 Jul 09
1
[LLVMdev] Error generating a executable using llcj
I installed vmkit-0.29 and tried to generate a executable using llcj
I generated the libvmjc and updated the library path
export LD_LIBRARY_PATH=$(VMKIT_OBJ)/Release/lib
llcj --main=hello hello.class -o hello
but i am getting the following error
/home/shyam/classpath-0.97.2/lib/vmkit/Release+Debug/lib/libvmjc.a(glibj.zip.o): In function
2014 Mar 07
2
[LLVMdev] Running VMKit's AOT Java Compiler
Hi,
I'm new to VMKit and I'm trying to use its AOT Java compiler but I'm
immediately getting an error message which I don't understand.
Everything was compiler as suggested in the Getting Started tutorial, using
GNU Classpath. I try to run:
llcj ../../tools/trainer/Release+Asserts/HelloWorld.class
and get the following output:
Can not materiale a function in AOT mode.0
2009 Jul 09
0
[LLVMdev] Source file information.
Dear All,
To add to this, what you want to do is find the appropriate debug stop
point intrinsic and then use it to look up the information for that
instruction.
Here is some sample code from SAFECode that finds the debug information
associated with a CallInst (LLVM call instruction) held in the variable
CI. It uses the findStopPoint() function in llvm/Analyis/DebugInfo.h:
//
// Get the
2009 Jul 13
2
[LLVMdev] Aliasing on bitcode.
Dear All,
I am working on a LLVM bitcode based project in which we do static lockset analysis. I need to get Aliasing information statically given the .bc file of the application. Is there any library in LLVM which already implements the aliasing? (does it support multi-threaded apps?) What is the best way of doing it (I want to extract aliasing information in runOnModule() function in the pass I
2014 Sep 09
2
[LLVMdev] VMKit is retired (but you can help if you want!)
Hello again Gaël, (et al)
More on rekindling work on VMKit! Thank you for your interactions thus far on- and off-list.
As you suggested in your VMKit-retirement email (to which I'm attempting to respond), I'm interested in producing a Java-to-LLVM compiler out of VMKit. I'd like to take you up on your offer to help understand the architecture. If I can get the a Java-to-LLVM
2009 Jul 09
3
[LLVMdev] Source file information.
Aaron Gray wrote:
> Dear All,
>
> To add to this, what you want to do is find the appropriate debug stop
> point intrinsic and then use it to look up the information for that
> instruction.
>
> Here is some sample code from SAFECode that finds the debug information
> associated with a CallInst (LLVM call instruction) held in the variable
> CI. It uses the
2014 Sep 09
2
[LLVMdev] VMKit is retired (but you can help if you want!)
Oups, sorry for the mistake, llcj (not llc:)) is not more maintained!
Gaël
Le 10 sept. 2014 00:27, "Gaël Thomas" <gael.thomas00 at gmail.com> a écrit :
> Hi Brian,
>
> So, I confirm, llc is not more maintained. And using vmjc is probably
> the good starting point to translate Java bytecode into llvm bitcode.
>
> However, I think that your hack (changing the way