similar to: [LLVMdev] Mapping bitcode to source code

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Mapping bitcode to source code"

2010 Feb 09
0
[LLVMdev] Mapping bitcode to source code
Hi Trevor, > I'm looking for a way to map bitcode to the source code (C/C++) from > which it was generated. For example, the Java class file format has an > optional LineNumberTable attribute that maps each bytecode instruction > to a source code line number: > > http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#22856 > > Is there
2008 Jul 13
3
[LLVMdev] instruction description
Hi, I need the description of LLVM instructions on bitcode file. I can't find it on any document. Reading the code costs much time. Does a description like this exist ? It should look like the JVM Instruction set on the link bellow: http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.ht ml Thanks for any advise. Quang
2008 Apr 21
3
[LLVMdev] Implementing try/catch/finally
Duncan Sands wrote: >> One approach would be to simply duplicate the code in the 'finally' >> block for each exit, but that seems sub-optimal. It would be better, I >> think, to set a state variable before entering the 'finally' block, and >> then have it do a switch instruction at the end and transfer to the >> appropriate block. >>
2008 Jul 13
0
[LLVMdev] instruction description
On Jul 13, 2008, at 1:32 PM, Le Anh Quang wrote: > Hi, > I need the description of LLVM instructions on bitcode file. I can't > find it > on any document. Reading the code costs much time. Does a > description like > this exist ? It should look like the JVM Instruction set on the link > bellow: >
2006 Apr 08
2
[LLVMdev] line number information
On Sat, 8 Apr 2006, Jim Laskey wrote: > If you look at the stoppoint calls you'll see that you can find the line > number and if you follow the compile unit argument on the call you will find > the file. The byte codes that follow the call would have been generated by > the code on that source line. I'd suggest an approach like this: Given an instruction in the a basic
2006 Apr 08
2
[LLVMdev] line number information
Thanks for your help. I took a look at http://llvm.org/docs/SourceLevelDebugging.html and it seems like this doesn't give you much in the way of line number information. If you know what source line you are interested in then you can set a breakpoint, but suppose you want to know the line number in the source code for some arbitrary bytecode instruction. In my particular case, I have a pass
2006 Apr 08
0
[LLVMdev] line number information
I get it now, I can't believe I didn't understand that before. Thank you all for your help! - John On 4/8/06, Chris Lattner <sabre at nondot.org> wrote: > > On Sat, 8 Apr 2006, Jim Laskey wrote: > > If you look at the stoppoint calls you'll see that you can find the line > > number and if you follow the compile unit argument on the call you will > find >
2009 Apr 05
1
RJava question(class not found with rJava's vm, though found with alternate vm)
Not sure if this the right place, but I can't seem to subscribe to the rJava mailing list. Sorry for the noise. I have a jar file in the CLASSPATH variable. On running .jinit and checking .jclassPath, i can see the jar file containing the class. Yet when trying to instantaite the class, i get a class not found error. Now If if, create my own vm (see below), and then run .jinit (which will
2007 Dec 25
3
[LLVMdev] Using debug info in static analysis
Hi, I was looking at how to use debug info to find out original source:line for a certain function/variable in the llvm bytecode. I read http://llvm.org/docs/SourceLevelDebugging.html, and then I have looked in lib/Debugger/ProgramInfo.cpp. getFunction() looks useful, however I am not sure how to call it. I have a reference to a Function, however getFunction() takes a GlobalVariable. I tried
2006 Apr 08
0
[LLVMdev] line number information
John, If you look at the stoppoint calls you'll see that you can find the line number and if you follow the compile unit argument on the call you will find the file. The byte codes that follow the call would have been generated by the code on that source line. -- Jim On Apr 8, 2006, at 5:33 AM, John Trimble wrote: > Thanks for your help. I took a look at http://llvm.org/docs/
2008 Jul 13
0
[LLVMdev] instruction description
Hi, I need the description of LLVM instructions on bitcode file. I can't find it on any document. Reading the code costs much time. Does a description like this exist ? It should look like the JVM Instruction set on the link bellow: http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.html Thanks for any advise. Quang -------------- next part -------------- An HTML
2008 Jul 13
1
[LLVMdev] instruction description
Hi Chris, Owen Thank for your answers. I have read it before. I mean something different. For example, I read a burst of bytes from a bitcode, which corresponds a LOAD instruction: [0,3,0], it actually means something like "%tmp1 = load i32* @x,align 4" Is there a document, that describes how the information in instructions decoded was ? In the case of JVM, it was described detail,
2008 Apr 21
0
[LLVMdev] Implementing try/catch/finally
> One approach would be to simply duplicate the code in the 'finally' > block for each exit, but that seems sub-optimal. It would be better, I > think, to set a state variable before entering the 'finally' block, and > then have it do a switch instruction at the end and transfer to the > appropriate block. I think gcc just duplicates the block (see tree-eh.c).
2006 Apr 09
1
[LLVMdev] line number information
Hi, I would like to know how much effect these stoppoint calls have on the optimization of the bytecode? DOes insertion of debugging info cause opportunities for optimization (especially interprocedural dead code elimination and interprocedural constant propogation) to be reduced? The -g code is not very readable, so I am not able to confirm this by my own experiment. Thanks! Nikhil On Sat,
2008 Apr 21
2
[LLVMdev] Implementing try/catch/finally
I'd be interested if anyone has some advice on the best way to represent a try/catch/finally statement in LLVM IR. Assume for the moment that we're using the Python semantics for try/catch. According to the Python language specification, the 'finally' clause is executed whenever the flow of control leaves the 'try' block. After the 'finally' clause has
2006 Feb 26
1
[LLVMdev] Re: gcc like attributes and annotations
Hi Mike, hope you are doing well with the llvm gcjx backend. I am currently writing an llvm backend for a C like language for tracing (like D in dtrace). I am very interested in this area. Do you currently put your work in a repository? (maybe as Tom suggested gcjx.sf.net would be an easy start - since it would not require gcc committer status). I am keen on getting LLVM support for gcj. Maybe we
2012 Jun 23
0
[LLVMdev] Performance of JNI in VMKit
Hi Bruno, On Wed, Jun 20, 2012 at 3:04 PM, Bruno Daniel <abml at mailoo.org> wrote: > Dear developers, > > Are there any benchmarks for the performance of Java Native Interface (JNI) > calls in VMKit? Since VMKit is based on LLVM which can also run C++ code > (maybe in the same just-in-time compiler?) I guess calls from Java to C++ > and > back could be much faster
2012 Jun 20
2
[LLVMdev] Performance of JNI in VMKit
Dear developers, Are there any benchmarks for the performance of Java Native Interface (JNI) calls in VMKit? Since VMKit is based on LLVM which can also run C++ code (maybe in the same just-in-time compiler?) I guess calls from Java to C++ and back could be much faster than in Sun's JVM which has extremely slow C++ -> Java callbacks. If this was the case, this would be a big advantage of
2012 Jun 27
1
[LLVMdev] Performance of JNI in VMKit
Hi Nicolas, thanks for your detailed answer! Now I understand the issues a little better. I'm going to install LLVM + Vmkit and try it out using JNI. Regarding the garbage collector, do you think that the Garbage Collection ABI of C++11 could be implemented in a way compatible to the JVM's garbage collector? http://www2.research.att.com/~bs/C++0xFAQ.html#gc-abi Perhaps this could make
2012 Aug 29
1
Puppet-Dashboard nodes showing up as unreported
Hello, I have followed the documentation at http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html to try to setup dashboard but after I manually add a node it shows up as unreported. The agent has successfully completed a very basic catalog run just adding a file to the file-system. Dashboard v1.2 Puppet puppet-server.noarch 2.7.19-1.el6 SERVER: -bash-4.1$ cat