Displaying 20 results from an estimated 27 matches for "throwabl".
Did you mean:
throwable
2009 May 18
4
[LLVMdev] Getting exceptions to work?
...what changes I need to make to the
following code to get it to work (i.e. return 0 instead of a bus error),
it would make my life immensely better.
; ModuleID = 'ExceptionTest'
%Object = type {}
%UnwindInfo = type { i64, void (i32, %UnwindInfo *)*, i16, i16 }
%Throwable = type { %Object, %UnwindInfo }
define i32 @main(i32, i8**) nounwind {
entry:
invoke fastcc void @throwSomething() to label %nounwind unwind
label %catch
catch:
ret i32 0
nounwind:
ret i32 -1
}
define internal fastcc void @throwSomething() no...
2009 May 18
0
[LLVMdev] Getting exceptions to work?
...the
> following code to get it to work (i.e. return 0 instead of a bus
> error), it would make my life immensely better.
>
> ; ModuleID = 'ExceptionTest'
> %Object = type {}
> %UnwindInfo = type { i64, void (i32, %UnwindInfo *)*, i16, i16 }
> %Throwable = type { %Object, %UnwindInfo }
>
> define i32 @main(i32, i8**) nounwind {
> entry:
> invoke fastcc void @throwSomething() to label %nounwind unwind
> label %catch
>
> catch:
> ret i32 0
>
> nounwind:
> ret i32 -1
> }
>...
2009 May 19
5
[LLVMdev] Getting exceptions to work?
...e to get it to work (i.e. return 0 instead of a bus
>> error), it would make my life immensely better.
>>
>> ; ModuleID = 'ExceptionTest'
>> %Object = type {}
>> %UnwindInfo = type { i64, void (i32, %UnwindInfo *)*, i16, i16 }
>> %Throwable = type { %Object, %UnwindInfo }
>>
>> define i32 @main(i32, i8**) nounwind {
>> entry:
>> invoke fastcc void @throwSomething() to label %nounwind unwind
>> label %catch
>>
>> catch:
>> ret i32 0
>>
>> nounwind...
2009 May 21
0
[LLVMdev] Getting exceptions to work?
Hi Talin, if you change @throwSomething so that it prints a message
if the _Unwind_RaiseException call returns, then you will see that
it does in fact return.
define internal fastcc void @throwSomething() {
entry:
%throwable = malloc %Throwable
call fastcc void @Throwable.construct(%Throwable* %throwable)
%unwindInfo = getelementptr %Throwable* %throwable, i32 0, i32 1
call void @print(i8* bitcast ([6 x i8]* @str_throw to i8 *))
%throw = call i32 @_Unwind_RaiseException(%UnwindInfo*...
2009 May 20
3
[LLVMdev] Getting exceptions to work?
Duncan Sands wrote:
> Hi Talin,
>
>> So I tried what you suggested, and it just gives me a bus error:
>>
>> %eh_select34 = call i32 (i8*, i8*, ...)*
>> @llvm.eh.selector.i32 (
>> i8* %eh_ptr,
>> i8* bitcast (i32 (i32, i32, i64, i8*, %UnwindContext*)*
>> @__gcc_personality_v0 to i8*),
>>
2009 May 19
0
[LLVMdev] Getting exceptions to work?
.... return 0 instead of a bus
>>> error), it would make my life immensely better.
>>>
>>> ; ModuleID = 'ExceptionTest'
>>> %Object = type {}
>>> %UnwindInfo = type { i64, void (i32, %UnwindInfo *)*, i16, i16 }
>>> %Throwable = type { %Object, %UnwindInfo }
>>>
>>> define i32 @main(i32, i8**) nounwind {
>>> entry:
>>> invoke fastcc void @throwSomething() to label %nounwind unwind
>>> label %catch
>>>
>>> catch:
>>> ret i32...
2009 May 24
1
[LLVMdev] Getting exceptions to work?
...stuff is.
-- Talin
Duncan Sands wrote:
> Hi Talin, if you change @throwSomething so that it prints a message
> if the _Unwind_RaiseException call returns, then you will see that
> it does in fact return.
>
> define internal fastcc void @throwSomething() {
> entry:
> %throwable = malloc %Throwable
> call fastcc void @Throwable.construct(%Throwable* %throwable)
> %unwindInfo = getelementptr %Throwable* %throwable, i32 0, i32 1
> call void @print(i8* bitcast ([6 x i8]* @str_throw to i8 *))
> %throw = call i32 @_Unwind_RaiseEx...
2009 May 26
0
[LLVMdev] Exception Personality Function
..._ptr = call i8* @llvm.eh.exception()
%eh_action = call i32 (i8*, i8*, ...)* @llvm.eh.selector.i32(
i8* %eh_ptr,
i8* bitcast (i32 (i32, i32, i64, i8*, i8*)* @__tart_eh_personality
to i8*),
%tart.reflect.Type* @tart.core.InvalidArgumentException.type,
%tart.reflect.Type* @tart.core.Throwable.type)
;; subtract offset of UnwindExceptInfo member within class Throwable
%0 = bitcast i8* %eh_ptr to [0 x i8]*
%eh_throwable = getelementptr [0 x i8]* %0, i32 0,
i32 sub (i32 0, i32 ptrtoint (%2* getelementptr (
%tart.core.Throwable* null, i32 0, i32 2) to i32))
;; Branch ba...
2011 Jan 12
1
[LLVMdev] VMKit Runtime Link Error
Hi!
I build VMKit and run some programs successfully. But when
using java.util.concurrent.locks.ReentrantLock and
java.util.concurrent.locks.Condition,
I catch a Throwable :
java.lang.UnsatisfiedLinkError:
sun.misc.Unsafe.unpark(Ljava/lang/Object;)V
after using the function :
void java.util.concurrent.locks.Condition.await()
My test program is as follows:
*import* *java.lang*.*;
*import* *java.util.Map*;
*import* *java.io*.*;
*import* java.util.concur...
2001 Jun 19
3
RJava lib error
Hello all!
I recently install R-1.2.3 and Omegahat SJava pkg
(formely Java pkg) 0.62 and tried running the examples
by issuing "scripts/RJava --example --gui=none" and I
got the following:
Error in dyn.load(x, as.logical(local),
as.logical(now)) :
unable to load shared library
"/usr/lib/R/library/ctest/libs/ctest.so":
ld.so.1:
2009 May 30
2
[LLVMdev] Nested exception handlers
...won't work, and even storing the exception pointer in a local variable
won't work because the compiler will notice that there are some code
paths where the exception variable never gets set. Now, I happen to know
that the code will never jump to a catch handler when there is no active
throwable, but I am not sure that the compiler knows this.
Duncan Sands wrote:
> Hi Talin,
>
>
>> 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:
>...
2009 May 30
0
[LLVMdev] Nested exception handlers
...d even storing the exception pointer in a local variable
> won't work because the compiler will notice that there are some code
> paths where the exception variable never gets set. Now, I happen to know
> that the code will never jump to a catch handler when there is no active
> throwable, but I am not sure that the compiler knows this.
IIRC, llvm-gcc duplicates cleanups a lot. Less than gcc though!
Good luck,
Duncan.
2009 May 28
0
[LLVMdev] Nested exception handlers
Hi Talin,
> 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:
take a look at what llvm-gcc does for this kind of thing.
Ciao,
Duncan.
2004 Nov 19
1
Problem calling rsync from java on OSX
...ippolt/.azerup/rsync --daemon
--config=/Users/dlippolt/.azerup/rsyncd.conf --port=2874";
System.out.println(cmd);
try {
Process proc = Runtime.getRuntime().exec(cmd);
System.out.println("DEBUG: Rsync Processvalue: " +
proc.waitFor());
} catch (Throwable t) {
t.printStackTrace();
}
}
}
/*****************************/
java note: it didn't make any difference if i connected to the std
in/out/err using BufferedReaders so i left that code out for brevity.
java note: when the BufferedReaders were connected to stdout/err,...
2004 Nov 19
0
[AustinJUG] Problem calling rsync from java on OSX
...onf --port=2874";
>>
>> System.out.println(cmd);
>>
>> try {
>> Process proc = Runtime.getRuntime().exec(cmd);
>> System.out.println("DEBUG: Rsync Processvalue: " +
>>proc.waitFor());
>>
>> } catch (Throwable t) {
>>
>> t.printStackTrace();
>>
>> }
>>
>>
>> }
>>
>>}
>>
>>/*****************************/
>>
>>java note: it didn't make any difference if i connected to the std
>>in/out/err using BufferedR...
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 {
2003 Oct 03
3
openoffice port build on FreeBSD 4.9
...a
../../../src/share/classes/java/lang/Short.java
../../../src/share/classes/java/lang/StackOverflowError.java
../../../src/share/classes/java/lang/String.java
../../../src/share/classes/java/lang/Thread.java
../../../src/share/classes/java/lang/ThreadGroup.java
../../../src/share/classes/java/lang/Throwable.java
../../../src/share/classes/java/lang/ref/Reference.java
../../../src/share/classes/java/lang/ref/SoftReference.java
../../../src/share/classes/java/lang/reflect/Field.java
../../../src/share/classes/java/lang/reflect/Method.java
../../../src/share/classes/java/lang/reflect/Constructor.java
.....
2009 Aug 10
1
Building tomcat6, SRPM jakarta-commons-dbcp-1.2.1-7jpp.ep1.2.ep5.el5.src.rpm fails to build
...:38: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] cast to java.lang.Class<?> for a varargs call
[javac] cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
[javac] getCauseMethod = Throwable.class.getMethod("getCause", null);
[javac] ^
[javac] /root/rpmbuild/BUILD/commons-dbcp-1.2.1/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java:40: org.apache.commons.dbcp.cpdsadapter.ConnectionImpl...
2013 Nov 21
2
[LLVMdev] vmkit2 core dump after building mmtk
...ons up to 1.6.
WARNING: Class file 'java/io/IOException' requires Java version 1.7.
This JVM only supports Java versions up to 1.6.
WARNING: Class file 'java/lang/Exception' requires Java version 1.7.
This JVM only supports Java versions up to 1.6.
WARNING: Class file 'java/lang/Throwable' requires Java version 1.7.
This JVM only supports Java versions up to 1.6.
WARNING: Class file 'java/lang/NoSuchFieldError' requires Java version
1.7. This JVM only supports Java versions up to 1.6.
WARNING: Class file 'java/lang/IncompatibleClassChangeError' requires
Java ver...
2013 Nov 21
2
[LLVMdev] vmkit2 core dump after building mmtk
...#39;java/io/IOException' requires Java version 1.7.
>> This JVM only supports Java versions up to 1.6.
>> WARNING: Class file 'java/lang/Exception' requires Java version 1.7.
>> This JVM only supports Java versions up to 1.6.
>> WARNING: Class file 'java/lang/Throwable' requires Java version 1.7.
>> This JVM only supports Java versions up to 1.6.
>> WARNING: Class file 'java/lang/NoSuchFieldError' requires Java version
>> 1.7. This JVM only supports Java versions up to 1.6.
>> WARNING: Class file 'java/lang/IncompatibleCla...