Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Implementing try/catch/finally"
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 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
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 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:
>
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,
2003 Apr 02
6
[Bug 527] Bad packet length on SunOS 4.1.3U1
http://bugzilla.mindrot.org/show_bug.cgi?id=527
Summary: Bad packet length on SunOS 4.1.3U1
Product: Portable OpenSSH
Version: 3.6p1
Platform: Sparc
OS/Version: SunOS
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: jsr at
2004 May 06
9
[Bug 864] sshd segfaults on connect on SunOS
http://bugzilla.mindrot.org/show_bug.cgi?id=864
Summary: sshd segfaults on connect on SunOS
Product: Portable OpenSSH
Version: 3.8.1p1
Platform: Sparc
OS/Version: SunOS
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: jsr at
2019 Dec 27
2
SIP via TCP - new TCP session per call or use same session for multiple calls?
Dovid Bender <dovid at telecurve.com> writes:
> So long as the tcp socket is open your SBC should send the call back over
> the same socket. Now it can be that your SBC is seeing the socket as
> timing out. If you are using Kamailio you can have it send tcp keep alives
> every so often so that the socket stays up.
SBC?
I am curious if the "reuse registration TCP
2009 May 28
2
[LLVMdev] Nested exception handlers
Now that I've got exceptions working, I'm kind of wondering how to
handle the case of nested "try" blocks. Say I have some code that looks
like this:
try {
try {
if (test) {
// throw something
} else {
return;
}
} catch e:Except1 {
} catch e:Except2 {
} finally {
}
// more code...
} catch e:Except3 {
} finally {
2011 Jan 17
2
list mac or IP of all guests NICs?
I'm trying to figure out how to use virsh (or something else) to list all
the IP addresses (or MAC addresses if needed) for each virtual NIC,
preferably with it domain affiliation also listed.
Is this possible?
Thanks,
JSR/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Jun 29
2
[LLVMdev] hello world error
Hi All,
I am using llvm-2.9 to cross compile to alpha. I know that alpha is in
experimental stage, but i can not get even the "Hello World" program to run
on it.
Here is what happens, the bitcode file for the hello world program is as
follow:
; ModuleID = 'hello.bc'
target datalayout =
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
2006 Jan 31
2
Relationship navigation issue
class Event < ActiveRecord::Base
belongs_to :venue
belongs_to :category
end
class Venue < ActiveRecord::Base
belongs_to :city
end
class City < ActiveRecord::Base
belongs_to :state
end
I want to retrieve all event records belonging to a state. Coming from
hibernate background I tried something like this:
def self.list_for_a_state(state_id)
find_by_sql(["select e.*
2008 Jul 21
1
Howto Restart A Function with Try-Error Catch
Hi all,
I have a function - let's call it "myfunction". This function is based
on some random
number generator. Now, once in a while the function will break/crash depending
on the random number it generate inside the function.
To avoid the problem, what I intend to do is the following:
1. Catch the try-error using class.
2. Redo the function if it returns "try-error"
3.
2008 Mar 18
2
[LLVMdev] Proposal for a Google summer of code project for the Java frontend.
I would like to see the code of your front end.
I started working with llvm-java, since it was what was available. It
does not run yet (small compilation issues, almost done),
but the design seems fine. It can run (when setup complete) small
pieces of Java code, but no real application, since it does
not support exception handling (jsr/ret bytecodes) yet,nor garbage
collection. Implementing these
2011 Jun 29
0
[LLVMdev] hello world error
Hi,
I found that machine dead code elimination, does not respect the calling
convention of alpha and eliminates r16, which was set correctly during code
generation. I verified it with -print-after-all.
Does anybody have a patch for this?
On Wed, Jun 29, 2011 at 11:12 AM, Ankit Sethia <asethia at eecs.umich.edu>wrote:
> Hi All,
>
> I am using llvm-2.9 to cross compile to alpha. I
2008 Feb 04
3
[LLVMdev] Introducing myself, and Java project.
I have just worked with this code. The architecture is fine, and I
think that this code should be reused,
It needs updating, however, because it does not compile with LLVM 2.1
(I prefer to use a stable version
to focus my work, and port to LLVM 2.2 later).
I have seen that one incompatibility is that this Java frontend
requires C++ with exceptions, but LLVM is compiled with
-fno-exceptions. For
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
2010 Mar 30
7
Analyzing java class loading with dtrace
Hi there,
I am trying to diagnose a performance problem on a Sun T5120 running
Solaris 10. I see general poor performance using Java and, in
particular, loading classes. I have developed a simple java test that
loads all of the classes in a Crystal Reports JAR file (around 7000
classes) which takes much longer on the T5120 (40 secs) than on a Core
2 Duo windows PC (5 secs). I recognise that this
2004 Aug 06
0
Live from Mongolia
FYI... A recent article I wrote regarding my streaming adventures.
===================
Hoov's Musings
===================
volume 6, number 7
Source: http://www.acuitive.com/musings/
Live From Mongolia
Introduction from Mark Hoover
Acuitive people have all kinds of interesting hobbies, a few of which I can
actually talk about. In the case of Roy Harvey, his hobby is providing
live or