Displaying 9 results from an estimated 9 matches for "second_edition".
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
...e
> everything is working well look into improving the code quality.
>
> Ciao,
>
> Duncan.
>
Interesting.
After doing some more research, I noticed that Java uses a jsr to
implement 'finally', at least according to this document:
http://java.sun.com/docs/books/jvms/second_edition/html/Compiling.doc.html
-- Talin
2010 Feb 09
2
[LLVMdev] Mapping bitcode to source code
Hi,
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 something analogous in the LLVM environment? Thanks,
Trevor
2008 Jul 13
0
[LLVMdev] instruction description
...d 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
http://llvm.org/docs/LangRef.html
-Chris
2010 Feb 09
0
[LLVMdev] Mapping bitcode to source code
...ng 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 something analogous in the LLVM environment? Thanks,
this can be done using debug info. Check out
http://llvm.org/docs/SourceLevelDebugging.html
Ciao,
Duncan.
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).
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 attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080713/82ee51ac/attachment.html>
2008 Jul 13
1
[LLVMdev] instruction description
...d 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
http://llvm.org/docs/LangRef.html
-Chris
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
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